#310630

Closest named color: Eggplant (#380835). oklch(22.7% 0.089 329), rgb(49, 6, 48).

Aa

White text reads best on this color (17.50:1).

About this color

#310630 is a very dark, moderately saturated purple. In OKLCH its lightness is 23%, its chroma 0.089 and its hue 329°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Eggplant (#380835), ΔE 0.020 away. White text reads best on it, at 17.50:1.

Hue familyPurples
Lightnessvery dark (23%)
Chromamoderately saturated (0.089)
Temperaturein between
Nearest nameEggplant (#380835)
Black text1.19:1
White text17.50:1

Values

HEX#310630
RGBrgb(49, 6, 48)
HSLhsl(301, 78%, 11%)
OKLCHoklch(22.7% 0.089 329)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #310630 17.50:1 AAA Lc -106.2 Preferred for body text
Black text on #310630 1.19:1 Fails Lc 0.0 Not readable
#310630 text on white 17.50:1 AAA Lc 103.8 Preferred for body text
#310630 text on black 1.19:1 Fails Lc 0.0 Not readable

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 950.

  1. Step 50

    50

    #FBF2FA

    oklch(97% 0.014 329.1)

  2. Step 100

    100

    #F6E3F4

    oklch(93.6% 0.03 329.1)

  3. Step 200

    200

    #F0CCEC

    oklch(88.5% 0.058 329.7)

  4. Step 300

    300

    #E7A8E2

    oklch(80.9% 0.105 329.2)

  5. Step 400

    400

    #D975D4

    oklch(70.7% 0.171 329.1)

  6. Step 500

    500

    #CC4AC8

    oklch(63.1% 0.217 329)

  7. Step 600

    600

    #B720B4

    oklch(55.6% 0.235 329.1)

  8. Step 700

    700

    #9D0C9B

    oklch(49% 0.218 329)

  9. Step 800

    800

    #80137E

    oklch(42.8% 0.181 329)

  10. Step 900

    900

    #671B65

    oklch(37.7% 0.141 329)

  11. Step 950

    950 (this color)

    #310630

    oklch(22.7% 0.089 329)

Export this scale for Tailwind in the Tailwind colors tool

#310630 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#0216310.096
Deuteranopia (no green cones)#121B2F0.081
Tritanopia (no blue cones)#330C1A0.049
Achromatopsia (no color)#1919190.090

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #310630

    #310630

    oklch(22.7% 0.089 329)

  • #00240A

    #00240A

    oklch(22.7% 0.064 149.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #310630

    #310630

    oklch(22.7% 0.089 329)

  • #230D3F

    #230D3F

    oklch(22.6% 0.09 299.2)

  • #3A011B

    #3A011B

    oklch(22.7% 0.09 359.4)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #310630

    #310630

    oklch(22.7% 0.089 329)

  • #1A1F00

    #1A1F00

    oklch(22.6% 0.053 118)

  • #00221D

    #00221D

    oklch(22.6% 0.041 181)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #310630

    #310630

    oklch(22.7% 0.089 329)

  • #251B00

    #251B00

    oklch(22.8% 0.047 89.6)

  • #002126

    #002126

    oklch(22.7% 0.039 209.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #310630

    #310630

    oklch(22.7% 0.089 329)

  • #2E1500

    #2E1500

    oklch(22.7% 0.054 59.7)

  • #00240A

    #00240A

    oklch(22.7% 0.064 149.3)

  • #001F31

    #001F31

    oklch(22.7% 0.051 238.3)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #310630, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #310630 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.