#262156

Closest named color: Marine (#042E60). oklch(28.7% 0.093 283.1), rgb(38, 33, 86).

Aa

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

About this color

#262156 is a dark, moderately saturated purple. In OKLCH its lightness is 29%, its chroma 0.093 and its hue 283°. Its hue sits on the cool side of the wheel. The nearest named color is Marine (#042E60), ΔE 0.050 away. White text reads best on it, at 14.64:1.

Hue familyPurples
Lightnessdark (29%)
Chromamoderately saturated (0.093)
Temperaturecool
Nearest nameMarine (#042E60)
Black text1.43:1
White text14.64:1

Values

HEX#262156
RGBrgb(38, 33, 86)
HSLhsl(246, 45%, 23%)
OKLCHoklch(28.7% 0.093 283.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 #262156 14.64:1 AAA Lc -104.1 Preferred for body text
Black text on #262156 1.43:1 Fails Lc 0.0 Not readable
#262156 text on white 14.64:1 AAA Lc 101.2 Preferred for body text
#262156 text on black 1.43: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

    #F4F4FF

    oklch(97% 0.015 286.1)

  2. Step 100

    100

    #E6E8FF

    oklch(93.6% 0.031 281.8)

  3. Step 200

    200

    #D3D5FF

    oklch(88.5% 0.058 283)

  4. Step 300

    300

    #B7B9FF

    oklch(80.9% 0.098 282.7)

  5. Step 400

    400

    #9591FF

    oklch(70.8% 0.158 283.2)

  6. Step 500

    500

    #7D70FF

    oklch(63.1% 0.205 282.9)

  7. Step 600

    600

    #6A4BF9

    oklch(55.6% 0.244 283.2)

  8. Step 700

    700

    #593AD9

    oklch(49.1% 0.226 283.1)

  9. Step 800

    800

    #4832AF

    oklch(42.6% 0.187 283.1)

  10. Step 900

    900

    #3B2F8B

    oklch(37.8% 0.146 282.8)

  11. Step 950

    950 (this color)

    #262156

    oklch(28.7% 0.093 283.1)

Export this scale for Tailwind in the Tailwind colors tool

#262156 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)#002A580.046
Deuteranopia (no green cones)#0027550.045
Tritanopia (no blue cones)#132D380.078
Achromatopsia (no color)#2929290.093

Harmonies

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

Complementary

The opposite hue (180°).

  • #262156

    #262156

    oklch(28.7% 0.093 283.1)

  • #302B00

    #302B00

    oklch(28.6% 0.06 102.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #262156

    #262156

    oklch(28.7% 0.093 283.1)

  • #002A55

    #002A55

    oklch(28.6% 0.09 253.5)

  • #3A194A

    #3A194A

    oklch(28.6% 0.092 313.2)

Open the analogous palette in the generator

Split complementary

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

  • #262156

    #262156

    oklch(28.7% 0.093 283.1)

  • #3C2500

    #3C2500

    oklch(28.6% 0.061 74)

  • #193200

    #193200

    oklch(28.5% 0.081 133)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #262156

    #262156

    oklch(28.7% 0.093 283.1)

  • #4B1800

    #4B1800

    oklch(28.7% 0.085 43.1)

  • #003422

    #003422

    oklch(28.8% 0.062 163.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #262156

    #262156

    oklch(28.7% 0.093 283.1)

  • #4E101D

    #4E101D

    oklch(28.7% 0.092 13.2)

  • #302B00

    #302B00

    oklch(28.6% 0.06 102.6)

  • #003231

    #003231

    oklch(28.7% 0.049 192.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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