#2A264E

Closest named color: Space Cadet (#2B2D42). oklch(29.5% 0.071 285.7), rgb(42, 38, 78).

Aa

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

About this color

#2A264E is a dark, moderately saturated purple. In OKLCH its lightness is 29%, its chroma 0.071 and its hue 286°. Its hue sits on the cool side of the wheel. The nearest named color is Space Cadet (#2B2D42), ΔE 0.035 away. White text reads best on it, at 14.13:1.

Hue familyPurples
Lightnessdark (29%)
Chromamoderately saturated (0.071)
Temperaturecool
Nearest nameSpace Cadet (#2B2D42)
Black text1.48:1
White text14.13:1

Values

HEX#2A264E
RGBrgb(42, 38, 78)
HSLhsl(246, 34%, 23%)
OKLCHoklch(29.5% 0.071 285.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 #2A264E 14.13:1 AAA Lc -103.7 Preferred for body text
Black text on #2A264E 1.48:1 Fails Lc 0.0 Not readable
#2A264E text on white 14.13:1 AAA Lc 100.7 Preferred for body text
#2A264E text on black 1.48: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

    #F4F4FD

    oklch(97% 0.012 286.2)

  2. Step 100

    100

    #E8E8FA

    oklch(93.6% 0.024 285.9)

  3. Step 200

    200

    #D6D5F7

    oklch(88.4% 0.047 286.8)

  4. Step 300

    300

    #BBB9F5

    oklch(80.8% 0.084 285.9)

  5. Step 400

    400

    #9A93F0

    oklch(70.7% 0.134 285.9)

  6. Step 500

    500

    #8375EB

    oklch(63.1% 0.172 285.8)

  7. Step 600

    600

    #6E5AD9

    oklch(55.6% 0.187 285.8)

  8. Step 700

    700

    #5C49BC

    oklch(49% 0.173 285.7)

  9. Step 800

    800

    #4B3D98

    oklch(42.7% 0.143 285.7)

  10. Step 900

    900

    #3E3579

    oklch(37.7% 0.112 285.8)

  11. Step 950

    950 (this color)

    #2A264E

    oklch(29.5% 0.071 285.7)

Export this scale for Tailwind in the Tailwind colors tool

#2A264E 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)#172C4F0.031
Deuteranopia (no green cones)#162A4D0.031
Tritanopia (no blue cones)#1F2E360.060
Achromatopsia (no color)#2B2B2B0.071

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A264E

    #2A264E

    oklch(29.5% 0.071 285.7)

  • #312E00

    #312E00

    oklch(29.5% 0.063 105.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A264E

    #2A264E

    oklch(29.5% 0.071 285.7)

  • #122D4F

    #122D4F

    oklch(29.6% 0.07 255.4)

  • #3A2044

    #3A2044

    oklch(29.5% 0.071 316)

Open the analogous palette in the generator

Split complementary

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

  • #2A264E

    #2A264E

    oklch(29.5% 0.071 285.7)

  • #3E2700

    #3E2700

    oklch(29.4% 0.062 75.1)

  • #1B340C

    #1B340C

    oklch(29.4% 0.071 135.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A264E

    #2A264E

    oklch(29.5% 0.071 285.7)

  • #481F09

    #481F09

    oklch(29.4% 0.07 45.9)

  • #003625

    #003625

    oklch(29.5% 0.062 165.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A264E

    #2A264E

    oklch(29.5% 0.071 285.7)

  • #4A1B20

    #4A1B20

    oklch(29.5% 0.072 16.1)

  • #312E00

    #312E00

    oklch(29.5% 0.063 105.8)

  • #003435

    #003435

    oklch(29.5% 0.05 196.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2A264E 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.