#3C2874

Closest named color: Indigo (#4B0082). oklch(34.7% 0.124 290.6), rgb(60, 40, 116).

Aa

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

About this color

#3C2874 is a dark, moderately saturated purple. In OKLCH its lightness is 35%, its chroma 0.124 and its hue 291°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Indigo (#4B0082), ΔE 0.063 away. White text reads best on it, at 12.01:1.

Hue familyPurples
Lightnessdark (35%)
Chromamoderately saturated (0.124)
Temperaturein between
Nearest nameIndigo (#4B0082)
Black text1.74:1
White text12.01:1

Values

HEX#3C2874
RGBrgb(60, 40, 116)
HSLhsl(256, 49%, 31%)
OKLCHoklch(34.7% 0.124 290.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 #3C2874 12.01:1 AAA Lc -100.7 Preferred for body text
Black text on #3C2874 1.74:1 Fails Lc 0.0 Not readable
#3C2874 text on white 12.01:1 AAA Lc 97.1 Preferred for body text
#3C2874 text on black 1.74: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 900.

  1. Step 50

    50

    #F5F4FE

    oklch(97.1% 0.013 290.8)

  2. Step 100

    100

    #E9E7FB

    oklch(93.5% 0.027 290.5)

  3. Step 200

    200

    #D8D4FA

    oklch(88.5% 0.052 290.1)

  4. Step 300

    300

    #C0B7F9

    oklch(81% 0.093 290.4)

  5. Step 400

    400

    #A18EF6

    oklch(70.7% 0.149 290.5)

  6. Step 500

    500

    #8C6EF2

    oklch(63.1% 0.19 290.4)

  7. Step 600

    600

    #7851E1

    oklch(55.6% 0.208 290.5)

  8. Step 700

    700

    #6540C3

    oklch(49% 0.193 290.5)

  9. Step 800

    800

    #52369E

    oklch(42.7% 0.16 290.3)

  10. Step 900

    900 (this color)

    #3C2874

    oklch(34.7% 0.124 290.6)

  11. Step 950

    950

    #271D49

    oklch(26.9% 0.079 290.6)

Export this scale for Tailwind in the Tailwind colors tool

#3C2874 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)#0038760.073
Deuteranopia (no green cones)#0035720.072
Tritanopia (no blue cones)#2B3A4A0.100
Achromatopsia (no color)#3636360.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #3C2874

    #3C2874

    oklch(34.7% 0.124 290.6)

  • #3C3D00

    #3C3D00

    oklch(34.7% 0.076 110.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3C2874

    #3C2874

    oklch(34.7% 0.124 290.6)

  • #0D3579

    #0D3579

    oklch(34.7% 0.124 260.6)

  • #551C60

    #551C60

    oklch(34.6% 0.125 320.8)

Open the analogous palette in the generator

Split complementary

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

  • #3C2874

    #3C2874

    oklch(34.7% 0.124 290.6)

  • #4D3500

    #4D3500

    oklch(34.8% 0.072 80.6)

  • #0D4700

    #0D4700

    oklch(34.8% 0.113 140.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3C2874

    #3C2874

    oklch(34.7% 0.124 290.6)

  • #5D2800

    #5D2800

    oklch(34.6% 0.091 50.5)

  • #004535

    #004535

    oklch(34.8% 0.068 170.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3C2874

    #3C2874

    oklch(34.7% 0.124 290.6)

  • #6C101C

    #6C101C

    oklch(34.7% 0.124 20.5)

  • #3C3D00

    #3C3D00

    oklch(34.7% 0.076 110.8)

  • #004346

    #004346

    oklch(34.8% 0.059 199.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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