#230C33

Closest named color: Midnight Purple (#280137). oklch(21.4% 0.075 308.4), rgb(35, 12, 51).

Aa

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

About this color

#230C33 is a very dark, moderately saturated purple. In OKLCH its lightness is 21%, its chroma 0.075 and its hue 308°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Midnight Purple (#280137), ΔE 0.027 away. White text reads best on it, at 17.92:1.

Hue familyPurples
Lightnessvery dark (21%)
Chromamoderately saturated (0.075)
Temperaturein between
Nearest nameMidnight Purple (#280137)
Black text1.17:1
White text17.92:1

Values

HEX#230C33
RGBrgb(35, 12, 51)
HSLhsl(275, 62%, 12%)
OKLCHoklch(21.4% 0.075 308.4)

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 #230C33 17.92:1 AAA Lc -106.7 Preferred for body text
Black text on #230C33 1.17:1 Fails Lc 0.0 Not readable
#230C33 text on white 17.92:1 AAA Lc 104.4 Preferred for body text
#230C33 text on black 1.17: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

    #EFE6F7

    oklch(93.7% 0.025 309.4)

  3. Step 200

    200

    #E2D1F3

    oklch(88.5% 0.049 307.8)

  4. Step 300

    300

    #D1B1ED

    oklch(80.8% 0.09 308.7)

  5. Step 400

    400

    #BA86E4

    oklch(70.7% 0.143 308.6)

  6. Step 500

    500

    #A964DC

    oklch(63.1% 0.183 308.6)

  7. Step 600

    600

    #9447CA

    oklch(55.6% 0.199 308.3)

  8. Step 700

    700

    #7E37AE

    oklch(49% 0.184 308.4)

  9. Step 800

    800

    #672F8D

    oklch(42.7% 0.153 308.7)

  10. Step 900

    900

    #532B71

    oklch(37.6% 0.119 308)

  11. Step 950

    950 (this color)

    #230C33

    oklch(21.4% 0.075 308.4)

Export this scale for Tailwind in the Tailwind colors tool

#230C33 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)#0016340.065
Deuteranopia (no green cones)#0617320.058
Tritanopia (no blue cones)#21141E0.052
Achromatopsia (no color)#1717170.076

Harmonies

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

Complementary

The opposite hue (180°).

  • #230C33

    #230C33

    oklch(21.4% 0.075 308.4)

  • #111E00

    #111E00

    oklch(21.5% 0.057 128.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #230C33

    #230C33

    oklch(21.4% 0.075 308.4)

  • #13123B

    #13123B

    oklch(21.3% 0.077 278.8)

  • #2E0725

    #2E0725

    oklch(21.5% 0.076 338.5)

Open the analogous palette in the generator

Split complementary

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

  • #230C33

    #230C33

    oklch(21.4% 0.075 308.4)

  • #1F1900

    #1F1900

    oklch(21.4% 0.044 97.1)

  • #002010

    #002010

    oklch(21.4% 0.05 157.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #230C33

    #230C33

    oklch(21.4% 0.075 308.4)

  • #271400

    #271400

    oklch(21.3% 0.047 67.4)

  • #001F1C

    #001F1C

    oklch(21.5% 0.038 185.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #230C33

    #230C33

    oklch(21.4% 0.075 308.4)

  • #320900

    #320900

    oklch(21.4% 0.07 38.2)

  • #111E00

    #111E00

    oklch(21.5% 0.057 128.9)

  • #001D25

    #001D25

    oklch(21.3% 0.039 219)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #230C33 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.