#422278

Closest named color: Indigo (#4B0082). oklch(34.8% 0.138 295.3), rgb(66, 34, 120).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (35%)
Chromamoderately saturated (0.138)
Temperaturein between
Nearest nameIndigo (#4B0082)
Black text1.73:1
White text12.12:1

Values

HEX#422278
RGBrgb(66, 34, 120)
HSLhsl(262, 56%, 30%)
OKLCHoklch(34.8% 0.138 295.3)

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 #422278 12.12:1 AAA Lc -100.7 Preferred for body text
Black text on #422278 1.73:1 Fails Lc 0.0 Not readable
#422278 text on white 12.12:1 AAA Lc 97.1 Preferred for body text
#422278 text on black 1.73: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

    #F6F4FE

    oklch(97.2% 0.013 295.3)

  2. Step 100

    100

    #EBE6FC

    oklch(93.5% 0.03 296.2)

  3. Step 200

    200

    #DBD2FC

    oklch(88.4% 0.058 295)

  4. Step 300

    300

    #C5B3FD

    oklch(80.8% 0.104 295.1)

  5. Step 400

    400

    #AA88FB

    oklch(70.7% 0.165 295.5)

  6. Step 500

    500

    #9764F9

    oklch(63.1% 0.213 295.4)

  7. Step 600

    600

    #8345E8

    oklch(55.7% 0.23 295.2)

  8. Step 700

    700

    #6F34C9

    oklch(49% 0.214 295.4)

  9. Step 800

    800

    #5A2DA3

    oklch(42.7% 0.178 295.2)

  10. Step 900

    900 (this color)

    #422278

    oklch(34.8% 0.138 295.3)

  11. Step 950

    950

    #2B1A4C

    oklch(27% 0.089 295.5)

Export this scale for Tailwind in the Tailwind colors tool

#422278 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)#00367B0.086
Deuteranopia (no green cones)#0034760.086
Tritanopia (no blue cones)#33374A0.107
Achromatopsia (no color)#3636360.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #422278

    #422278

    oklch(34.8% 0.138 295.3)

  • #393E00

    #393E00

    oklch(34.7% 0.079 114.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #422278

    #422278

    oklch(34.8% 0.138 295.3)

  • #163180

    #163180

    oklch(34.8% 0.137 265.3)

  • #5B1460

    #5B1460

    oklch(34.7% 0.138 325.1)

Open the analogous palette in the generator

Split complementary

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

  • #422278

    #422278

    oklch(34.8% 0.138 295.3)

  • #4B3600

    #4B3600

    oklch(34.7% 0.071 84.3)

  • #00470F

    #00470F

    oklch(34.6% 0.108 145.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #422278

    #422278

    oklch(34.8% 0.138 295.3)

  • #5B2B00

    #5B2B00

    oklch(34.8% 0.086 54.7)

  • #004538

    #004538

    oklch(34.9% 0.066 174.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #422278

    #422278

    oklch(34.8% 0.138 295.3)

  • #71030E

    #71030E

    oklch(34.7% 0.138 25.2)

  • #393E00

    #393E00

    oklch(34.7% 0.079 114.8)

  • #004249

    #004249

    oklch(34.6% 0.059 206.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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