#301C3B

Closest named color: Oxford Blue (#1B263B). oklch(26.8% 0.061 312.6), rgb(48, 28, 59).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (27%)
Chromamuted (0.061)
Temperaturein between
Nearest nameOxford Blue (#1B263B)
Black text1.35:1
White text15.49:1

Values

HEX#301C3B
RGBrgb(48, 28, 59)
HSLhsl(279, 36%, 17%)
OKLCHoklch(26.8% 0.061 312.6)

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 #301C3B 15.49:1 AAA Lc -105.0 Preferred for body text
Black text on #301C3B 1.35:1 Fails Lc 0.0 Not readable
#301C3B text on white 15.49:1 AAA Lc 102.3 Preferred for body text
#301C3B text on black 1.35: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

    #F8F4FA

    oklch(97.2% 0.009 314.8)

  2. Step 100

    100

    #EFE6F4

    oklch(93.6% 0.021 313.8)

  3. Step 200

    200

    #E2D2ED

    oklch(88.5% 0.04 311.7)

  4. Step 300

    300

    #D1B4E3

    oklch(81% 0.072 312.4)

  5. Step 400

    400

    #B98BD4

    oklch(70.7% 0.115 312.4)

  6. Step 500

    500

    #A86CC9

    oklch(63.2% 0.148 312.6)

  7. Step 600

    600

    #9351B5

    oklch(55.5% 0.161 312.8)

  8. Step 700

    700

    #7D419C

    oklch(49% 0.15 312.6)

  9. Step 800

    800

    #66367F

    oklch(42.7% 0.125 312.6)

  10. Step 900

    900

    #533066

    oklch(37.7% 0.097 312.5)

  11. Step 950

    950 (this color)

    #301C3B

    oklch(26.8% 0.061 312.6)

Export this scale for Tailwind in the Tailwind colors tool

#301C3B 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)#16233C0.049
Deuteranopia (no green cones)#1B253A0.046
Tritanopia (no blue cones)#2F21280.043
Achromatopsia (no color)#2424240.062

Harmonies

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

Complementary

The opposite hue (180°).

  • #301C3B

    #301C3B

    oklch(26.8% 0.061 312.6)

  • #1A2C09

    #1A2C09

    oklch(26.8% 0.061 132.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #301C3B

    #301C3B

    oklch(26.8% 0.061 312.6)

  • #222143

    #222143

    oklch(26.8% 0.062 282.7)

  • #3A182E

    #3A182E

    oklch(26.8% 0.063 342.7)

Open the analogous palette in the generator

Split complementary

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

  • #301C3B

    #301C3B

    oklch(26.8% 0.061 312.6)

  • #2B2700

    #2B2700

    oklch(26.9% 0.057 103.7)

  • #002E1D

    #002E1D

    oklch(26.6% 0.058 162.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #301C3B

    #301C3B

    oklch(26.8% 0.061 312.6)

  • #372100

    #372100

    oklch(27% 0.057 72.9)

  • #002D2C

    #002D2C

    oklch(26.9% 0.046 192.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #301C3B

    #301C3B

    oklch(26.8% 0.061 312.6)

  • #3E1A0B

    #3E1A0B

    oklch(26.8% 0.062 42.1)

  • #1A2C09

    #1A2C09

    oklch(26.8% 0.061 132.4)

  • #002B37

    #002B37

    oklch(26.8% 0.049 221.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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