#130421

Closest named color: Midnight (#03012D). oklch(15.7% 0.062 305.1), rgb(19, 4, 33).

Aa

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

About this color

#130421 is a very dark, muted purple. In OKLCH its lightness is 16%, its chroma 0.062 and its hue 305°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Midnight (#03012D), ΔE 0.053 away. White text reads best on it, at 19.68:1.

Hue familyPurples
Lightnessvery dark (16%)
Chromamuted (0.062)
Temperaturein between
Nearest nameMidnight (#03012D)
Black text1.06:1
White text19.68:1

Values

HEX#130421
RGBrgb(19, 4, 33)
HSLhsl(271, 78%, 7%)
OKLCHoklch(15.7% 0.062 305.1)

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 #130421 19.68:1 AAA Lc -107.6 Preferred for body text
Black text on #130421 1.06:1 Fails Lc 0.0 Not readable
#130421 text on white 19.68:1 AAA Lc 105.6 Preferred for body text
#130421 text on black 1.06: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

    #F7F4FB

    oklch(97.1% 0.01 305.4)

  2. Step 100

    100

    #EDE7F6

    oklch(93.7% 0.021 304)

  3. Step 200

    200

    #DFD3EF

    oklch(88.5% 0.04 304.9)

  4. Step 300

    300

    #CBB5E7

    oklch(80.8% 0.073 304.8)

  5. Step 400

    400

    #B28DDB

    oklch(70.7% 0.117 305.4)

  6. Step 500

    500

    #9F6FD1

    oklch(63.1% 0.149 305.1)

  7. Step 600

    600

    #8A55BE

    oklch(55.6% 0.162 305)

  8. Step 700

    700

    #7545A4

    oklch(49.2% 0.15 304.8)

  9. Step 800

    800

    #5F3985

    oklch(42.7% 0.125 304.7)

  10. Step 900

    900

    #4E326A

    oklch(37.7% 0.097 305.3)

  11. Step 950

    950 (this color)

    #130421

    oklch(15.7% 0.062 305.1)

Export this scale for Tailwind in the Tailwind colors tool

#130421 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)#000B220.048
Deuteranopia (no green cones)#000B200.049
Tritanopia (no blue cones)#1009110.043
Achromatopsia (no color)#0B0B0B0.062

Harmonies

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

Complementary

The opposite hue (180°).

  • #130421

    #130421

    oklch(15.7% 0.062 305.1)

  • #090F00

    #090F00

    oklch(15.6% 0.039 124.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #130421

    #130421

    oklch(15.7% 0.062 305.1)

  • #070826

    #070826

    oklch(15.8% 0.061 275.2)

  • #1B0217

    #1B0217

    oklch(15.8% 0.061 334.5)

Open the analogous palette in the generator

Split complementary

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

  • #130421

    #130421

    oklch(15.7% 0.062 305.1)

  • #110C00

    #110C00

    oklch(15.6% 0.032 93.9)

  • #001106

    #001106

    oklch(15.6% 0.038 156.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #130421

    #130421

    oklch(15.7% 0.062 305.1)

  • #170900

    #170900

    oklch(15.8% 0.036 64.6)

  • #00100E

    #00100E

    oklch(15.6% 0.027 185.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #130421

    #130421

    oklch(15.7% 0.062 305.1)

  • #1F0300

    #1F0300

    oklch(15.9% 0.054 36.1)

  • #090F00

    #090F00

    oklch(15.6% 0.039 124.2)

  • #000F14

    #000F14

    oklch(15.5% 0.028 217.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #130421 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.