#301834

Closest named color: Eggplant (#380835). oklch(25.5% 0.06 321.7), rgb(48, 24, 52).

Aa

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

About this color

#301834 is a dark, muted purple. In OKLCH its lightness is 26%, its chroma 0.060 and its hue 322°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Eggplant (#380835), ΔE 0.038 away. White text reads best on it, at 16.08:1.

Hue familyPurples
Lightnessdark (26%)
Chromamuted (0.060)
Temperaturein between
Nearest nameEggplant (#380835)
Black text1.30:1
White text16.08:1

Values

HEX#301834
RGBrgb(48, 24, 52)
HSLhsl(291, 37%, 15%)
OKLCHoklch(25.5% 0.06 321.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 #301834 16.08:1 AAA Lc -105.5 Preferred for body text
Black text on #301834 1.30:1 Fails Lc 0.0 Not readable
#301834 text on white 16.08:1 AAA Lc 102.9 Preferred for body text
#301834 text on black 1.30: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

    #F9F3F9

    oklch(97% 0.01 325.7)

  2. Step 100

    100

    #F1E6F2

    oklch(93.7% 0.02 323.2)

  3. Step 200

    200

    #E6D1E9

    oklch(88.5% 0.04 322)

  4. Step 300

    300

    #D7B2DC

    oklch(80.9% 0.071 322.3)

  5. Step 400

    400

    #C288CB

    oklch(70.7% 0.114 322)

  6. Step 500

    500

    #B169BD

    oklch(63.1% 0.144 321.7)

  7. Step 600

    600

    #9C4EAA

    oklch(55.6% 0.158 321.3)

  8. Step 700

    700

    #863E91

    oklch(49.1% 0.147 322.2)

  9. Step 800

    800

    #6D3476

    oklch(42.8% 0.122 322)

  10. Step 900

    900

    #582E5F

    oklch(37.6% 0.095 321.7)

  11. Step 950

    950 (this color)

    #301834

    oklch(25.5% 0.06 321.7)

Export this scale for Tailwind in the Tailwind colors tool

#301834 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)#141F350.055
Deuteranopia (no green cones)#1B22330.049
Tritanopia (no blue cones)#311B230.037
Achromatopsia (no color)#2121210.061

Harmonies

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

Complementary

The opposite hue (180°).

  • #301834

    #301834

    oklch(25.5% 0.06 321.7)

  • #102A0D

    #102A0D

    oklch(25.6% 0.06 141.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #301834

    #301834

    oklch(25.5% 0.06 321.7)

  • #241D3D

    #241D3D

    oklch(25.7% 0.059 291.8)

  • #381526

    #381526

    oklch(25.5% 0.06 351.8)

Open the analogous palette in the generator

Split complementary

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

  • #301834

    #301834

    oklch(25.5% 0.06 321.7)

  • #242500

    #242500

    oklch(25.5% 0.056 111.3)

  • #002A20

    #002A20

    oklch(25.4% 0.049 172.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #301834

    #301834

    oklch(25.5% 0.06 321.7)

  • #302000

    #302000

    oklch(25.7% 0.053 81.3)

  • #00292C

    #00292C

    oklch(25.6% 0.044 202.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #301834

    #301834

    oklch(25.5% 0.06 321.7)

  • #391903

    #391903

    oklch(25.6% 0.061 52.1)

  • #102A0D

    #102A0D

    oklch(25.6% 0.06 141.7)

  • #002737

    #002737

    oklch(25.6% 0.051 230.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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