#270833

Closest named color: Very Dark Purple (#2A0134). oklch(21.4% 0.084 314.8), rgb(39, 8, 51).

Aa

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

About this color

#270833 is a very dark, moderately saturated purple. In OKLCH its lightness is 21%, its chroma 0.084 and its hue 315°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Very Dark Purple (#2A0134), ΔE 0.017 away. White text reads best on it, at 17.96:1.

Hue familyPurples
Lightnessvery dark (21%)
Chromamoderately saturated (0.084)
Temperaturein between
Nearest nameVery Dark Purple (#2A0134)
Black text1.16:1
White text17.96:1

Values

HEX#270833
RGBrgb(39, 8, 51)
HSLhsl(283, 73%, 12%)
OKLCHoklch(21.4% 0.084 314.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 #270833 17.96:1 AAA Lc -106.6 Preferred for body text
Black text on #270833 1.16:1 Fails Lc 0.0 Not readable
#270833 text on white 17.96:1 AAA Lc 104.3 Preferred for body text
#270833 text on black 1.16: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

    #F9F3FC

    oklch(97.1% 0.013 314.8)

  2. Step 100

    100

    #F1E5F7

    oklch(93.7% 0.027 314.7)

  3. Step 200

    200

    #E7CFF3

    oklch(88.5% 0.055 314.5)

  4. Step 300

    300

    #D9ADED

    oklch(80.8% 0.1 315.1)

  5. Step 400

    400

    #C57FE4

    oklch(70.7% 0.159 314.8)

  6. Step 500

    500

    #B659DC

    oklch(63.1% 0.204 314.9)

  7. Step 600

    600

    #A138C9

    oklch(55.5% 0.221 314.8)

  8. Step 700

    700

    #8A29AE

    oklch(49.1% 0.205 314.8)

  9. Step 800

    800

    #70248D

    oklch(42.7% 0.17 314.8)

  10. Step 900

    900

    #5B2571

    oklch(37.8% 0.132 314.7)

  11. Step 950

    950 (this color)

    #270833

    oklch(21.4% 0.084 314.8)

Export this scale for Tailwind in the Tailwind colors tool

#270833 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)#0015340.077
Deuteranopia (no green cones)#0718320.070
Tritanopia (no blue cones)#26111C0.055
Achromatopsia (no color)#1717170.084

Harmonies

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

Complementary

The opposite hue (180°).

  • #270833

    #270833

    oklch(21.4% 0.084 314.8)

  • #0B1F00

    #0B1F00

    oklch(21.4% 0.062 135)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #270833

    #270833

    oklch(21.4% 0.084 314.8)

  • #170F3D

    #170F3D

    oklch(21.3% 0.084 284.7)

  • #310322

    #310322

    oklch(21.4% 0.083 344.5)

Open the analogous palette in the generator

Split complementary

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

  • #270833

    #270833

    oklch(21.4% 0.084 314.8)

  • #1D1A00

    #1D1A00

    oklch(21.4% 0.045 103.7)

  • #002014

    #002014

    oklch(21.6% 0.046 164.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #270833

    #270833

    oklch(21.4% 0.084 314.8)

  • #251600

    #251600

    oklch(21.5% 0.045 76.3)

  • #001E1E

    #001E1E

    oklch(21.3% 0.036 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #270833

    #270833

    oklch(21.4% 0.084 314.8)

  • #2F0D00

    #2F0D00

    oklch(21.4% 0.062 44.5)

  • #0B1F00

    #0B1F00

    oklch(21.4% 0.062 135)

  • #001D27

    #001D27

    oklch(21.4% 0.04 224.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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