#2F0364

Closest named color: Dark Indigo (#1F0954). oklch(27.1% 0.145 294.2), rgb(47, 3, 100).

Aa

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

About this color

#2F0364 is a dark, vivid purple. In OKLCH its lightness is 27%, its chroma 0.145 and its hue 294°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Indigo (#1F0954), ΔE 0.044 away. White text reads best on it, at 15.93:1.

Hue familyPurples
Lightnessdark (27%)
Chromavivid (0.145)
Temperaturein between
Nearest nameDark Indigo (#1F0954)
Black text1.31:1
White text15.93:1

Values

HEX#2F0364
RGBrgb(47, 3, 100)
HSLhsl(267, 94%, 20%)
OKLCHoklch(27.1% 0.145 294.2)

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 #2F0364 15.93:1 AAA Lc -104.5 Preferred for body text
Black text on #2F0364 1.31:1 Fails Lc 0.0 Not readable
#2F0364 text on white 15.93:1 AAA Lc 101.7 Preferred for body text
#2F0364 text on black 1.31: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

    #F6F4FF

    oklch(97.2% 0.015 294.5)

  2. Step 100

    100

    #EBE6FF

    oklch(93.6% 0.034 294.9)

  3. Step 200

    200

    #DBD2FF

    oklch(88.5% 0.062 294.3)

  4. Step 300

    300

    #C4B3FF

    oklch(80.8% 0.107 294.1)

  5. Step 400

    400

    #A888FF

    oklch(70.7% 0.17 294)

  6. Step 500

    500

    #9562FF

    oklch(63% 0.222 294)

  7. Step 600

    600

    #852EFF

    oklch(55.6% 0.275 294)

  8. Step 700

    700

    #7300E6

    oklch(49.1% 0.271 294)

  9. Step 800

    800

    #5F00BF

    oklch(42.8% 0.236 294.3)

  10. Step 900

    900

    #4F00A1

    oklch(37.7% 0.208 294.3)

  11. Step 950

    950 (this color)

    #2F0364

    oklch(27.1% 0.145 294.2)

Export this scale for Tailwind in the Tailwind colors tool

#2F0364 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)#0023660.080
Deuteranopia (no green cones)#0020620.078
Tritanopia (no blue cones)#1E24380.111
Achromatopsia (no color)#2222220.146

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F0364

    #2F0364

    oklch(27.1% 0.145 294.2)

  • #262A00

    #262A00

    oklch(27.2% 0.062 115.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F0364

    #2F0364

    oklch(27.1% 0.145 294.2)

  • #02186C

    #02186C

    oklch(27.1% 0.146 264.3)

  • #420048

    #420048

    oklch(27.1% 0.127 324.2)

Open the analogous palette in the generator

Split complementary

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

  • #2F0364

    #2F0364

    oklch(27.1% 0.145 294.2)

  • #332400

    #332400

    oklch(27.1% 0.056 85)

  • #003104

    #003104

    oklch(27.2% 0.088 144)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F0364

    #2F0364

    oklch(27.1% 0.145 294.2)

  • #3F1B00

    #3F1B00

    oklch(27% 0.068 53.5)

  • #002F25

    #002F25

    oklch(27.2% 0.052 174)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F0364

    #2F0364

    oklch(27.1% 0.145 294.2)

  • #500008

    #500008

    oklch(27.2% 0.11 24.1)

  • #262A00

    #262A00

    oklch(27.2% 0.062 115.2)

  • #002D31

    #002D31

    oklch(27.1% 0.046 204.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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