#310E3F

Closest named color: Dark Purple (#35063E). oklch(24.8% 0.093 314.6), rgb(49, 14, 63).

Aa

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

About this color

#310E3F is a very dark, moderately saturated purple. In OKLCH its lightness is 25%, its chroma 0.093 and its hue 315°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Purple (#35063E), ΔE 0.016 away. White text reads best on it, at 16.59:1.

Hue familyPurples
Lightnessvery dark (25%)
Chromamoderately saturated (0.093)
Temperaturein between
Nearest nameDark Purple (#35063E)
Black text1.26:1
White text16.59:1

Values

HEX#310E3F
RGBrgb(49, 14, 63)
HSLhsl(283, 64%, 15%)
OKLCHoklch(24.8% 0.093 314.6)

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 #310E3F 16.59:1 AAA Lc -105.7 Preferred for body text
Black text on #310E3F 1.26:1 Fails Lc 0.0 Not readable
#310E3F text on white 16.59:1 AAA Lc 103.1 Preferred for body text
#310E3F text on black 1.26: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

    #F9F3FC

    oklch(97.1% 0.013 314.8)

  2. Step 100

    100

    #F2E4F9

    oklch(93.6% 0.032 314.7)

  3. Step 200

    200

    #E8CEF6

    oklch(88.5% 0.061 313.8)

  4. Step 300

    300

    #DBABF2

    oklch(80.9% 0.11 314.5)

  5. Step 400

    400

    #C97AEB

    oklch(70.7% 0.177 314.9)

  6. Step 500

    500

    #BA51E5

    oklch(63.1% 0.225 314.6)

  7. Step 600

    600

    #A62AD3

    oklch(55.7% 0.245 314.7)

  8. Step 700

    700

    #8E18B6

    oklch(49.1% 0.227 314.8)

  9. Step 800

    800

    #731A94

    oklch(42.7% 0.188 314.4)

  10. Step 900

    900

    #5D1F76

    oklch(37.7% 0.147 314.4)

  11. Step 950

    950 (this color)

    #310E3F

    oklch(24.8% 0.093 314.6)

Export this scale for Tailwind in the Tailwind colors tool

#310E3F 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)#001C400.087
Deuteranopia (no green cones)#0C1F3E0.077
Tritanopia (no blue cones)#3018250.061
Achromatopsia (no color)#1E1E1E0.094

Harmonies

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

Complementary

The opposite hue (180°).

  • #310E3F

    #310E3F

    oklch(24.8% 0.093 314.6)

  • #112800

    #112800

    oklch(24.8% 0.072 134.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #310E3F

    #310E3F

    oklch(24.8% 0.093 314.6)

  • #1F164B

    #1F164B

    oklch(24.8% 0.094 285.1)

  • #3D072B

    #3D072B

    oklch(24.8% 0.092 345.1)

Open the analogous palette in the generator

Split complementary

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

  • #310E3F

    #310E3F

    oklch(24.8% 0.093 314.6)

  • #252200

    #252200

    oklch(24.7% 0.052 104.7)

  • #00291B

    #00291B

    oklch(24.9% 0.052 165.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #310E3F

    #310E3F

    oklch(24.8% 0.093 314.6)

  • #301D00

    #301D00

    oklch(24.9% 0.053 74.6)

  • #002727

    #002727

    oklch(24.7% 0.042 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #310E3F

    #310E3F

    oklch(24.8% 0.093 314.6)

  • #3C1300

    #3C1300

    oklch(25% 0.072 44.8)

  • #112800

    #112800

    oklch(24.8% 0.072 134.4)

  • #002632

    #002632

    oklch(25% 0.047 223.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #310E3F 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.