#3F254F

Closest named color: Space Cadet (#2B2D42). oklch(31.8% 0.078 311.2), rgb(63, 37, 79).

Aa

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

About this color

#3F254F is a dark, moderately saturated purple. In OKLCH its lightness is 32%, its chroma 0.078 and its hue 311°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Space Cadet (#2B2D42), ΔE 0.052 away. White text reads best on it, at 13.21:1.

Hue familyPurples
Lightnessdark (32%)
Chromamoderately saturated (0.078)
Temperaturein between
Nearest nameSpace Cadet (#2B2D42)
Black text1.58:1
White text13.21:1

Values

HEX#3F254F
RGBrgb(63, 37, 79)
HSLhsl(277, 36%, 23%)
OKLCHoklch(31.8% 0.078 311.2)

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 #3F254F 13.21:1 AAA Lc -102.6 Preferred for body text
Black text on #3F254F 1.58:1 Fails Lc 0.0 Not readable
#3F254F text on white 13.21:1 AAA Lc 99.4 Preferred for body text
#3F254F text on black 1.58: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

    #F8F3FC

    oklch(97.1% 0.013 310.5)

  2. Step 100

    100

    #F0E5F7

    oklch(93.6% 0.027 312.6)

  3. Step 200

    200

    #E4D0F3

    oklch(88.5% 0.052 310.8)

  4. Step 300

    300

    #D4B0ED

    oklch(80.9% 0.092 311.1)

  5. Step 400

    400

    #BE84E4

    oklch(70.7% 0.148 310.9)

  6. Step 500

    500

    #AE60DC

    oklch(63.1% 0.19 311.2)

  7. Step 600

    600

    #9942C9

    oklch(55.5% 0.206 311.1)

  8. Step 700

    700

    #8332AE

    oklch(49.1% 0.192 311.2)

  9. Step 800

    800

    #6A2B8D

    oklch(42.6% 0.159 310.9)

  10. Step 900

    900

    #562970

    oklch(37.6% 0.123 311.1)

  11. Step 950

    950 (this color)

    #3F254F

    oklch(31.8% 0.078 311.2)

Export this scale for Tailwind in the Tailwind colors tool

#3F254F 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)#1B2F500.064
Deuteranopia (no green cones)#22304E0.058
Tritanopia (no blue cones)#3D2C360.055
Achromatopsia (no color)#3030300.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #3F254F

    #3F254F

    oklch(31.8% 0.078 311.2)

  • #233A08

    #233A08

    oklch(31.8% 0.079 131.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3F254F

    #3F254F

    oklch(31.8% 0.078 311.2)

  • #2C2C59

    #2C2C59

    oklch(31.8% 0.079 281)

  • #4C203E

    #4C203E

    oklch(31.8% 0.079 341.1)

Open the analogous palette in the generator

Split complementary

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

  • #3F254F

    #3F254F

    oklch(31.8% 0.078 311.2)

  • #3A3300

    #3A3300

    oklch(31.9% 0.066 101)

  • #003D26

    #003D26

    oklch(31.8% 0.071 160.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3F254F

    #3F254F

    oklch(31.8% 0.078 311.2)

  • #472B00

    #472B00

    oklch(31.6% 0.068 71.4)

  • #003B39

    #003B39

    oklch(31.8% 0.055 191)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3F254F

    #3F254F

    oklch(31.8% 0.078 311.2)

  • #52220E

    #52220E

    oklch(31.8% 0.078 41.7)

  • #233A08

    #233A08

    oklch(31.8% 0.079 131.5)

  • #003947

    #003947

    oklch(31.9% 0.058 220.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #3F254F 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.