#261042

Closest named color: Midnight Purple (#280137). oklch(23.8% 0.09 299.7), rgb(38, 16, 66).

Aa

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

About this color

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

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

Values

HEX#261042
RGBrgb(38, 16, 66)
HSLhsl(266, 61%, 16%)
OKLCHoklch(23.8% 0.09 299.7)

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 #261042 17.00:1 AAA Lc -106.0 Preferred for body text
Black text on #261042 1.23:1 Fails Lc 0.0 Not readable
#261042 text on white 17.00:1 AAA Lc 103.6 Preferred for body text
#261042 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

    #EDE6FC

    oklch(93.7% 0.03 300.3)

  3. Step 200

    200

    #DED1FB

    oklch(88.4% 0.059 299.3)

  4. Step 300

    300

    #CBB1FC

    oklch(80.9% 0.107 299.9)

  5. Step 400

    400

    #B184FA

    oklch(70.6% 0.171 299.6)

  6. Step 500

    500

    #A05FF7

    oklch(63.1% 0.218 299.8)

  7. Step 600

    600

    #8C3EE6

    oklch(55.7% 0.237 299.7)

  8. Step 700

    700

    #772DC8

    oklch(49.1% 0.221 299.7)

  9. Step 800

    800

    #6128A1

    oklch(42.7% 0.182 300.1)

  10. Step 900

    900

    #4E2880

    oklch(37.7% 0.141 299.3)

  11. Step 950

    950 (this color)

    #261042

    oklch(23.8% 0.09 299.7)

Export this scale for Tailwind in the Tailwind colors tool

#261042 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)#001C440.063
Deuteranopia (no green cones)#001C410.064
Tritanopia (no blue cones)#201C270.068
Achromatopsia (no color)#1C1C1C0.091

Harmonies

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

Complementary

The opposite hue (180°).

  • #261042

    #261042

    oklch(23.8% 0.09 299.7)

  • #1C2200

    #1C2200

    oklch(23.7% 0.056 118.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #261042

    #261042

    oklch(23.8% 0.09 299.7)

  • #0F1848

    #0F1848

    oklch(23.6% 0.09 269.9)

  • #340832

    #340832

    oklch(23.7% 0.09 329.9)

Open the analogous palette in the generator

Split complementary

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

  • #261042

    #261042

    oklch(23.8% 0.09 299.7)

  • #281D00

    #281D00

    oklch(23.8% 0.049 88.6)

  • #00270C

    #00270C

    oklch(23.8% 0.066 149.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #261042

    #261042

    oklch(23.8% 0.09 299.7)

  • #311700

    #311700

    oklch(23.7% 0.056 60.2)

  • #00251F

    #00251F

    oklch(23.7% 0.043 179.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #261042

    #261042

    oklch(23.8% 0.09 299.7)

  • #400402

    #400402

    oklch(23.9% 0.091 29.5)

  • #1C2200

    #1C2200

    oklch(23.7% 0.056 118.9)

  • #002429

    #002429

    oklch(23.8% 0.041 208.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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