#23133D

Closest named color: Midnight Purple (#280137). oklch(23.5% 0.077 297.7), rgb(35, 19, 61).

Aa

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

About this color

#23133D is a very dark, moderately saturated purple. In OKLCH its lightness is 23%, its chroma 0.077 and its hue 298°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Midnight Purple (#280137), ΔE 0.043 away. White text reads best on it, at 17.04:1.

Hue familyPurples
Lightnessvery dark (23%)
Chromamoderately saturated (0.077)
Temperaturein between
Nearest nameMidnight Purple (#280137)
Black text1.23:1
White text17.04:1

Values

HEX#23133D
RGBrgb(35, 19, 61)
HSLhsl(263, 53%, 16%)
OKLCHoklch(23.5% 0.077 297.7)

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 #23133D 17.04:1 AAA Lc -106.1 Preferred for body text
Black text on #23133D 1.23:1 Fails Lc 0.0 Not readable
#23133D text on white 17.04:1 AAA Lc 103.7 Preferred for body text
#23133D text on black 1.23: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

    #F6F4FD

    oklch(97.1% 0.012 296.4)

  2. Step 100

    100

    #EBE6FA

    oklch(93.5% 0.027 297.3)

  3. Step 200

    200

    #DCD3F7

    oklch(88.5% 0.05 296.8)

  4. Step 300

    300

    #C7B4F5

    oklch(80.8% 0.092 297.7)

  5. Step 400

    400

    #AC8BF0

    oklch(70.8% 0.147 297.6)

  6. Step 500

    500

    #996AEA

    oklch(63.2% 0.187 297.8)

  7. Step 600

    600

    #844DD8

    oklch(55.6% 0.203 297.6)

  8. Step 700

    700

    #703CBC

    oklch(49.1% 0.19 297.5)

  9. Step 800

    800

    #5B3398

    oklch(42.7% 0.157 297.5)

  10. Step 900

    900

    #4A2E79

    oklch(37.6% 0.123 297.4)

  11. Step 950

    950 (this color)

    #23133D

    oklch(23.5% 0.077 297.7)

Export this scale for Tailwind in the Tailwind colors tool

#23133D 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)#001C3E0.056
Deuteranopia (no green cones)#041C3C0.052
Tritanopia (no blue cones)#1D1C250.060
Achromatopsia (no color)#1C1C1C0.078

Harmonies

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

Complementary

The opposite hue (180°).

  • #23133D

    #23133D

    oklch(23.5% 0.077 297.7)

  • #1C2100

    #1C2100

    oklch(23.4% 0.054 117.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #23133D

    #23133D

    oklch(23.5% 0.077 297.7)

  • #0E1A42

    #0E1A42

    oklch(23.5% 0.078 267.5)

  • #300D30

    #300D30

    oklch(23.4% 0.077 327.7)

Open the analogous palette in the generator

Split complementary

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

  • #23133D

    #23133D

    oklch(23.5% 0.077 297.7)

  • #271C00

    #271C00

    oklch(23.3% 0.048 88.1)

  • #002609

    #002609

    oklch(23.4% 0.068 148)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #23133D

    #23133D

    oklch(23.5% 0.077 297.7)

  • #311600

    #311600

    oklch(23.5% 0.056 58.2)

  • #00241E

    #00241E

    oklch(23.3% 0.043 179.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #23133D

    #23133D

    oklch(23.5% 0.077 297.7)

  • #3B0907

    #3B0907

    oklch(23.4% 0.078 27.6)

  • #1C2100

    #1C2100

    oklch(23.4% 0.054 117.7)

  • #002328

    #002328

    oklch(23.4% 0.04 208.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #23133D 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.