#2A264A

Closest named color: Space Cadet (#2B2D42). oklch(29.2% 0.064 286.8), rgb(42, 38, 74).

Aa

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

About this color

#2A264A is a dark, muted purple. In OKLCH its lightness is 29%, its chroma 0.064 and its hue 287°. Its hue sits on the cool side of the wheel. The nearest named color is Space Cadet (#2B2D42), ΔE 0.030 away. White text reads best on it, at 14.24:1.

Hue familyPurples
Lightnessdark (29%)
Chromamuted (0.064)
Temperaturecool
Nearest nameSpace Cadet (#2B2D42)
Black text1.47:1
White text14.24:1

Values

HEX#2A264A
RGBrgb(42, 38, 74)
HSLhsl(247, 32%, 22%)
OKLCHoklch(29.2% 0.064 286.8)

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 #2A264A 14.24:1 AAA Lc -103.9 Preferred for body text
Black text on #2A264A 1.47:1 Fails Lc 0.0 Not readable
#2A264A text on white 14.24:1 AAA Lc 100.9 Preferred for body text
#2A264A text on black 1.47: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

    #F5F5FC

    oklch(97.2% 0.009 286.2)

  2. Step 100

    100

    #E8E8F8

    oklch(93.6% 0.022 286)

  3. Step 200

    200

    #D6D6F4

    oklch(88.5% 0.041 285.5)

  4. Step 300

    300

    #BCBAF0

    oklch(80.9% 0.076 286.3)

  5. Step 400

    400

    #9B94E9

    oklch(70.7% 0.123 286.6)

  6. Step 500

    500

    #8577E2

    oklch(63.1% 0.157 287)

  7. Step 600

    600

    #705ECF

    oklch(55.7% 0.168 286.9)

  8. Step 700

    700

    #5E4CB4

    oklch(49.1% 0.158 287)

  9. Step 800

    800

    #4C3F91

    oklch(42.6% 0.13 286.8)

  10. Step 900

    900

    #3F3774

    oklch(37.8% 0.101 286.5)

  11. Step 950

    950 (this color)

    #2A264A

    oklch(29.2% 0.064 286.8)

Export this scale for Tailwind in the Tailwind colors tool

#2A264A 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)#192C4B0.030
Deuteranopia (no green cones)#192A490.028
Tritanopia (no blue cones)#212D340.054
Achromatopsia (no color)#2B2B2B0.064

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A264A

    #2A264A

    oklch(29.2% 0.064 286.8)

  • #302E00

    #302E00

    oklch(29.4% 0.063 107.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A264A

    #2A264A

    oklch(29.2% 0.064 286.8)

  • #152C4B

    #152C4B

    oklch(29.2% 0.064 256.4)

  • #382141

    #382141

    oklch(29.2% 0.064 316)

Open the analogous palette in the generator

Split complementary

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

  • #2A264A

    #2A264A

    oklch(29.2% 0.064 286.8)

  • #3D2700

    #3D2700

    oklch(29.3% 0.061 76.4)

  • #1C3311

    #1C3311

    oklch(29.3% 0.064 136.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A264A

    #2A264A

    oklch(29.2% 0.064 286.8)

  • #45200C

    #45200C

    oklch(29.1% 0.065 46.9)

  • #003525

    #003525

    oklch(29.2% 0.06 166.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A264A

    #2A264A

    oklch(29.2% 0.064 286.8)

  • #471D20

    #471D20

    oklch(29.3% 0.064 17.5)

  • #302E00

    #302E00

    oklch(29.4% 0.063 107.1)

  • #003334

    #003334

    oklch(29.1% 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 #2A264A, closest first.

Similar named colors

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

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