#272452

Closest named color: Space Cadet (#2B2D42). oklch(29.1% 0.081 283), rgb(39, 36, 82).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (29%)
Chromamoderately saturated (0.081)
Temperaturecool
Nearest nameSpace Cadet (#2B2D42)
Black text1.46:1
White text14.37:1

Values

HEX#272452
RGBrgb(39, 36, 82)
HSLhsl(244, 39%, 23%)
OKLCHoklch(29.1% 0.081 283)

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 #272452 14.37:1 AAA Lc -103.9 Preferred for body text
Black text on #272452 1.46:1 Fails Lc 0.0 Not readable
#272452 text on white 14.37:1 AAA Lc 101.0 Preferred for body text
#272452 text on black 1.46: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

    #F4F5FE

    oklch(97.2% 0.012 281.1)

  2. Step 100

    100

    #E7E8FD

    oklch(93.7% 0.028 283.7)

  3. Step 200

    200

    #D3D5FC

    oklch(88.4% 0.054 282.9)

  4. Step 300

    300

    #B7B9FD

    oklch(80.9% 0.096 282.7)

  5. Step 400

    400

    #9591FD

    oklch(70.7% 0.155 283.4)

  6. Step 500

    500

    #7D72FA

    oklch(63.1% 0.196 282.9)

  7. Step 600

    600

    #6955E9

    oklch(55.6% 0.214 283.1)

  8. Step 700

    700

    #5844CB

    oklch(49.1% 0.199 283)

  9. Step 800

    800

    #4839A4

    oklch(42.7% 0.165 283.3)

  10. Step 900

    900

    #3B3382

    oklch(37.7% 0.128 282.9)

  11. Step 950

    950 (this color)

    #272452

    oklch(29.1% 0.081 283)

Export this scale for Tailwind in the Tailwind colors tool

#272452 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)#0E2B540.036
Deuteranopia (no green cones)#0B28510.037
Tritanopia (no blue cones)#182E370.069
Achromatopsia (no color)#2A2A2A0.081

Harmonies

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

Complementary

The opposite hue (180°).

  • #272452

    #272452

    oklch(29.1% 0.081 283)

  • #312C00

    #312C00

    oklch(28.9% 0.061 102.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #272452

    #272452

    oklch(29.1% 0.081 283)

  • #062C52

    #062C52

    oklch(29.1% 0.08 252.6)

  • #391D48

    #391D48

    oklch(29% 0.082 312.5)

Open the analogous palette in the generator

Split complementary

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

  • #272452

    #272452

    oklch(29.1% 0.081 283)

  • #3E2600

    #3E2600

    oklch(29.2% 0.062 73.3)

  • #1A3301

    #1A3301

    oklch(28.9% 0.08 133.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #272452

    #272452

    oklch(29.1% 0.081 283)

  • #4B1A03

    #4B1A03

    oklch(29% 0.081 42.9)

  • #003522

    #003522

    oklch(29.1% 0.063 162.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #272452

    #272452

    oklch(29.1% 0.081 283)

  • #4C1620

    #4C1620

    oklch(29.1% 0.082 12.7)

  • #312C00

    #312C00

    oklch(28.9% 0.061 102.8)

  • #003332

    #003332

    oklch(29% 0.05 192.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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