#242142

Closest named color: Oxford Blue (#1B263B). oklch(26.9% 0.06 285.8), rgb(36, 33, 66).

Aa

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

About this color

#242142 is a dark, muted purple. In OKLCH its lightness is 27%, its chroma 0.060 and its hue 286°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.027 away. White text reads best on it, at 15.31:1.

Hue familyPurples
Lightnessdark (27%)
Chromamuted (0.060)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.37:1
White text15.31:1

Values

HEX#242142
RGBrgb(36, 33, 66)
HSLhsl(245, 33%, 19%)
OKLCHoklch(26.9% 0.06 285.8)

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 #242142 15.31:1 AAA Lc -104.9 Preferred for body text
Black text on #242142 1.37:1 Fails Lc 0.0 Not readable
#242142 text on white 15.31:1 AAA Lc 102.2 Preferred for body text
#242142 text on black 1.37: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

    #F5F5FC

    oklch(97.2% 0.009 286.2)

  2. Step 100

    100

    #E8E8F7

    oklch(93.5% 0.02 286)

  3. Step 200

    200

    #D6D6F3

    oklch(88.5% 0.04 285.6)

  4. Step 300

    300

    #BCBBED

    oklch(81% 0.07 285.6)

  5. Step 400

    400

    #9A96E4

    oklch(70.7% 0.113 285.5)

  6. Step 500

    500

    #837ADD

    oklch(63.2% 0.145 285.6)

  7. Step 600

    600

    #6E60CA

    oklch(55.5% 0.158 286.1)

  8. Step 700

    700

    #5C4FAF

    oklch(49.1% 0.147 285.8)

  9. Step 800

    800

    #4B418E

    oklch(42.7% 0.123 285.9)

  10. Step 900

    900

    #3E3871

    oklch(37.7% 0.095 285.7)

  11. Step 950

    950 (this color)

    #242142

    oklch(26.9% 0.06 285.8)

Export this scale for Tailwind in the Tailwind colors tool

#242142 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)#1526430.026
Deuteranopia (no green cones)#1424410.026
Tritanopia (no blue cones)#1B282E0.052
Achromatopsia (no color)#2525250.060

Harmonies

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

Complementary

The opposite hue (180°).

  • #242142

    #242142

    oklch(26.9% 0.06 285.8)

  • #2A2800

    #2A2800

    oklch(27% 0.058 106.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #242142

    #242142

    oklch(26.9% 0.06 285.8)

  • #112743

    #112743

    oklch(27.1% 0.059 255.4)

  • #311C3A

    #311C3A

    oklch(26.8% 0.06 315.1)

Open the analogous palette in the generator

Split complementary

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

  • #242142

    #242142

    oklch(26.9% 0.06 285.8)

  • #362200

    #362200

    oklch(27% 0.057 76.3)

  • #182D0C

    #182D0C

    oklch(27% 0.061 135.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #242142

    #242142

    oklch(26.9% 0.06 285.8)

  • #3E1B0A

    #3E1B0A

    oklch(26.9% 0.061 44.8)

  • #002F20

    #002F20

    oklch(27.1% 0.056 165.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #242142

    #242142

    oklch(26.9% 0.06 285.8)

  • #3F181C

    #3F181C

    oklch(26.9% 0.061 15.8)

  • #2A2800

    #2A2800

    oklch(27% 0.058 106.8)

  • #002D2D

    #002D2D

    oklch(26.9% 0.046 194.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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