#301E3C

Closest named color: Oxford Blue (#1B263B). oklch(27.2% 0.058 310.7), rgb(48, 30, 60).

Aa

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

About this color

#301E3C is a dark, muted purple. In OKLCH its lightness is 27%, its chroma 0.058 and its hue 311°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.044 away. White text reads best on it, at 15.25:1.

Hue familyPurples
Lightnessdark (27%)
Chromamuted (0.058)
Temperaturein between
Nearest nameOxford Blue (#1B263B)
Black text1.37:1
White text15.25:1

Values

HEX#301E3C
RGBrgb(48, 30, 60)
HSLhsl(276, 33%, 18%)
OKLCHoklch(27.2% 0.058 310.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 #301E3C 15.25:1 AAA Lc -104.8 Preferred for body text
Black text on #301E3C 1.37:1 Fails Lc 0.0 Not readable
#301E3C text on white 15.25:1 AAA Lc 102.1 Preferred for body text
#301E3C 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

    #F7F4FA

    oklch(97.1% 0.009 308.4)

  2. Step 100

    100

    #EEE6F4

    oklch(93.5% 0.021 311.1)

  3. Step 200

    200

    #E1D2EC

    oklch(88.4% 0.039 311.1)

  4. Step 300

    300

    #CFB5E2

    oklch(81% 0.068 310.8)

  5. Step 400

    400

    #B68CD4

    oklch(70.6% 0.112 310.4)

  6. Step 500

    500

    #A46EC8

    oklch(63% 0.142 310.6)

  7. Step 600

    600

    #8F54B5

    oklch(55.5% 0.155 310.4)

  8. Step 700

    700

    #7A449C

    oklch(49.1% 0.144 310.5)

  9. Step 800

    800

    #63397E

    oklch(42.7% 0.118 310.5)

  10. Step 900

    900

    #513265

    oklch(37.8% 0.091 310.8)

  11. Step 950

    950 (this color)

    #301E3C

    oklch(27.2% 0.058 310.7)

Export this scale for Tailwind in the Tailwind colors tool

#301E3C 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)#18253D0.046
Deuteranopia (no green cones)#1C263B0.042
Tritanopia (no blue cones)#2F232A0.042
Achromatopsia (no color)#2525250.059

Harmonies

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

Complementary

The opposite hue (180°).

  • #301E3C

    #301E3C

    oklch(27.2% 0.058 310.7)

  • #1D2D0B

    #1D2D0B

    oklch(27.4% 0.059 130.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #301E3C

    #301E3C

    oklch(27.2% 0.058 310.7)

  • #222343

    #222343

    oklch(27.3% 0.059 280.4)

  • #3A1A30

    #3A1A30

    oklch(27.2% 0.06 340.3)

Open the analogous palette in the generator

Split complementary

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

  • #301E3C

    #301E3C

    oklch(27.2% 0.058 310.7)

  • #2D2700

    #2D2700

    oklch(27.1% 0.056 100.5)

  • #03301D

    #03301D

    oklch(27.4% 0.059 159.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #301E3C

    #301E3C

    oklch(27.2% 0.058 310.7)

  • #392100

    #392100

    oklch(27.3% 0.059 70.2)

  • #002E2C

    #002E2C

    oklch(27.2% 0.047 190.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #301E3C

    #301E3C

    oklch(27.2% 0.058 310.7)

  • #3E1C0F

    #3E1C0F

    oklch(27.2% 0.058 41.1)

  • #1D2D0B

    #1D2D0B

    oklch(27.4% 0.059 130.7)

  • #002C38

    #002C38

    oklch(27.2% 0.05 221.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #301E3C 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.