#260F38

Closest named color: Midnight Purple (#280137). oklch(22.7% 0.078 307.1), rgb(38, 15, 56).

Aa

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

About this color

#260F38 is a very dark, moderately saturated purple. In OKLCH its lightness is 23%, its chroma 0.078 and its hue 307°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Midnight Purple (#280137), ΔE 0.031 away. White text reads best on it, at 17.38:1.

Hue familyPurples
Lightnessvery dark (23%)
Chromamoderately saturated (0.078)
Temperaturein between
Nearest nameMidnight Purple (#280137)
Black text1.20:1
White text17.38:1

Values

HEX#260F38
RGBrgb(38, 15, 56)
HSLhsl(274, 58%, 14%)
OKLCHoklch(22.7% 0.078 307.1)

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 #260F38 17.38:1 AAA Lc -106.3 Preferred for body text
Black text on #260F38 1.20:1 Fails Lc 0.0 Not readable
#260F38 text on white 17.38:1 AAA Lc 104.0 Preferred for body text
#260F38 text on black 1.20: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

    #F8F3FC

    oklch(97.1% 0.013 310.5)

  2. Step 100

    100

    #EEE6F8

    oklch(93.6% 0.025 305.8)

  3. Step 200

    200

    #E2D1F4

    oklch(88.5% 0.051 307.2)

  4. Step 300

    300

    #D0B1F0

    oklch(80.9% 0.093 306.8)

  5. Step 400

    400

    #B986E8

    oklch(70.8% 0.147 307)

  6. Step 500

    500

    #A863E1

    oklch(63.1% 0.189 307.1)

  7. Step 600

    600

    #9345CE

    oklch(55.5% 0.205 307)

  8. Step 700

    700

    #7E35B3

    oklch(49.1% 0.192 307.2)

  9. Step 800

    800

    #662E91

    oklch(42.8% 0.158 306.8)

  10. Step 900

    900

    #532A73

    oklch(37.6% 0.124 307.4)

  11. Step 950

    950 (this color)

    #260F38

    oklch(22.7% 0.078 307.1)

Export this scale for Tailwind in the Tailwind colors tool

#260F38 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)#0019390.067
Deuteranopia (no green cones)#071A370.060
Tritanopia (no blue cones)#2317210.055
Achromatopsia (no color)#1A1A1A0.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #260F38

    #260F38

    oklch(22.7% 0.078 307.1)

  • #152100

    #152100

    oklch(22.8% 0.059 126.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #260F38

    #260F38

    oklch(22.7% 0.078 307.1)

  • #151640

    #151640

    oklch(22.9% 0.078 277.2)

  • #310929

    #310929

    oklch(22.6% 0.078 336.9)

Open the analogous palette in the generator

Split complementary

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

  • #260F38

    #260F38

    oklch(22.7% 0.078 307.1)

  • #231C00

    #231C00

    oklch(22.8% 0.047 96)

  • #002412

    #002412

    oklch(22.9% 0.054 157.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #260F38

    #260F38

    oklch(22.7% 0.078 307.1)

  • #2C1700

    #2C1700

    oklch(22.9% 0.051 66.9)

  • #00221F

    #00221F

    oklch(22.7% 0.04 186.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #260F38

    #260F38

    oklch(22.7% 0.078 307.1)

  • #380A00

    #380A00

    oklch(22.8% 0.076 37.3)

  • #152100

    #152100

    oklch(22.8% 0.059 126.8)

  • #002129

    #002129

    oklch(22.9% 0.041 217.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #260F38 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.