#261040

Closest named color: Midnight Purple (#280137). oklch(23.6% 0.087 300.9), rgb(38, 16, 64).

Aa

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

About this color

#261040 is a very dark, moderately saturated purple. In OKLCH its lightness is 24%, its chroma 0.087 and its hue 301°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Midnight Purple (#280137), ΔE 0.037 away. White text reads best on it, at 17.06:1.

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

Values

HEX#261040
RGBrgb(38, 16, 64)
HSLhsl(267, 60%, 16%)
OKLCHoklch(23.6% 0.087 300.9)

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 #261040 17.06:1 AAA Lc -106.1 Preferred for body text
Black text on #261040 1.23:1 Fails Lc 0.0 Not readable
#261040 text on white 17.06:1 AAA Lc 103.7 Preferred for body text
#261040 text on black 1.23: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

    #F7F3FE

    oklch(97% 0.015 302.6)

  2. Step 100

    100

    #EDE6FB

    oklch(93.7% 0.029 301)

  3. Step 200

    200

    #DFD1FA

    oklch(88.5% 0.058 300.8)

  4. Step 300

    300

    #CCB1F9

    oklch(80.9% 0.103 301.3)

  5. Step 400

    400

    #B385F6

    oklch(70.7% 0.165 301.1)

  6. Step 500

    500

    #A160F2

    oklch(63% 0.211 301)

  7. Step 600

    600

    #8D40E1

    oklch(55.6% 0.23 300.9)

  8. Step 700

    700

    #7830C3

    oklch(49.1% 0.213 300.9)

  9. Step 800

    800

    #612A9E

    oklch(42.7% 0.177 300.6)

  10. Step 900

    900

    #4F287D

    oklch(37.6% 0.138 301)

  11. Step 950

    950 (this color)

    #261040

    oklch(23.6% 0.087 300.9)

Export this scale for Tailwind in the Tailwind colors tool

#261040 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)#001C410.064
Deuteranopia (no green cones)#001C3F0.065
Tritanopia (no blue cones)#201B260.065
Achromatopsia (no color)#1C1C1C0.088

Harmonies

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

Complementary

The opposite hue (180°).

  • #261040

    #261040

    oklch(23.6% 0.087 300.9)

  • #1B2200

    #1B2200

    oklch(23.7% 0.056 120.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #261040

    #261040

    oklch(23.6% 0.087 300.9)

  • #101847

    #101847

    oklch(23.6% 0.088 270.7)

  • #340931

    #340931

    oklch(23.7% 0.087 330.9)

Open the analogous palette in the generator

Split complementary

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

  • #261040

    #261040

    oklch(23.6% 0.087 300.9)

  • #271D00

    #271D00

    oklch(23.6% 0.048 90.5)

  • #00260D

    #00260D

    oklch(23.5% 0.063 150.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #261040

    #261040

    oklch(23.6% 0.087 300.9)

  • #301700

    #301700

    oklch(23.5% 0.054 61.4)

  • #00251F

    #00251F

    oklch(23.7% 0.043 179.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #261040

    #261040

    oklch(23.6% 0.087 300.9)

  • #3E0502

    #3E0502

    oklch(23.5% 0.087 30.2)

  • #1B2200

    #1B2200

    oklch(23.7% 0.056 120.3)

  • #002329

    #002329

    oklch(23.5% 0.041 211.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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