#3F274C

Closest named color: Space Cadet (#2B2D42). oklch(32% 0.07 312.8), rgb(63, 39, 76).

Aa

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

About this color

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

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

Values

HEX#3F274C
RGBrgb(63, 39, 76)
HSLhsl(279, 32%, 23%)
OKLCHoklch(32% 0.07 312.8)

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 #3F274C 13.07:1 AAA Lc -102.5 Preferred for body text
Black text on #3F274C 1.60:1 Fails Lc 0.0 Not readable
#3F274C text on white 13.07:1 AAA Lc 99.2 Preferred for body text
#3F274C text on black 1.60: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

    #F8F3FB

    oklch(97% 0.012 313.2)

  2. Step 100

    100

    #EFE6F6

    oklch(93.7% 0.023 310.7)

  3. Step 200

    200

    #E4D1EF

    oklch(88.5% 0.045 313.3)

  4. Step 300

    300

    #D3B1E7

    oklch(80.8% 0.083 312.8)

  5. Step 400

    400

    #BD87DB

    oklch(70.7% 0.132 312.8)

  6. Step 500

    500

    #AC65D1

    oklch(63% 0.17 312.8)

  7. Step 600

    600

    #9849BE

    oklch(55.6% 0.185 313.1)

  8. Step 700

    700

    #813AA4

    oklch(49.1% 0.171 312.7)

  9. Step 800

    800

    #693185

    oklch(42.7% 0.141 312.7)

  10. Step 900

    900

    #562C6B

    oklch(37.8% 0.112 313.1)

  11. Step 950

    950 (this color)

    #3F274C

    oklch(32% 0.07 312.8)

Export this scale for Tailwind in the Tailwind colors tool

#3F274C 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)#202F4D0.056
Deuteranopia (no green cones)#26314B0.051
Tritanopia (no blue cones)#3E2C350.048
Achromatopsia (no color)#3131310.070

Harmonies

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

Complementary

The opposite hue (180°).

  • #3F274C

    #3F274C

    oklch(32% 0.07 312.8)

  • #243A11

    #243A11

    oklch(31.9% 0.07 132.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3F274C

    #3F274C

    oklch(32% 0.07 312.8)

  • #2E2D55

    #2E2D55

    oklch(31.9% 0.07 282.8)

  • #4B233C

    #4B233C

    oklch(32.1% 0.07 343.5)

Open the analogous palette in the generator

Split complementary

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

  • #3F274C

    #3F274C

    oklch(32% 0.07 312.8)

  • #393400

    #393400

    oklch(32% 0.067 103.6)

  • #003D28

    #003D28

    oklch(31.8% 0.069 162.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3F274C

    #3F274C

    oklch(32% 0.07 312.8)

  • #472C00

    #472C00

    oklch(31.9% 0.068 73)

  • #003B3A

    #003B3A

    oklch(31.9% 0.055 192.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3F274C

    #3F274C

    oklch(32% 0.07 312.8)

  • #502513

    #502513

    oklch(32% 0.071 42.4)

  • #243A11

    #243A11

    oklch(31.9% 0.07 132.9)

  • #003949

    #003949

    oklch(32% 0.06 223.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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