#38334A

Closest named color: Gunmetal (#293241). oklch(33.6% 0.04 294.1), rgb(56, 51, 74).

Aa

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

About this color

#38334A is a dark, muted purple. In OKLCH its lightness is 34%, its chroma 0.040 and its hue 294°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Gunmetal (#293241), ΔE 0.031 away. White text reads best on it, at 12.06:1.

Hue familyPurples
Lightnessdark (34%)
Chromamuted (0.040)
Temperaturein between
Nearest nameGunmetal (#293241)
Black text1.74:1
White text12.06:1

Values

HEX#38334A
RGBrgb(56, 51, 74)
HSLhsl(253, 18%, 25%)
OKLCHoklch(33.6% 0.04 294.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 #38334A 12.06:1 AAA Lc -101.1 Preferred for body text
Black text on #38334A 1.74:1 Fails Lc 0.0 Not readable
#38334A text on white 12.06:1 AAA Lc 97.6 Preferred for body text
#38334A text on black 1.74: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 900.

  1. Step 50

    50

    #F5F5F8

    oklch(97.1% 0.004 286.3)

  2. Step 100

    100

    #EAE9EF

    oklch(93.7% 0.008 293.9)

  3. Step 200

    200

    #D9D7E3

    oklch(88.4% 0.016 293.7)

  4. Step 300

    300

    #C1BDD3

    oklch(80.8% 0.031 294)

  5. Step 400

    400

    #A29BBC

    oklch(70.7% 0.048 294.9)

  6. Step 500

    500

    #8B83AC

    oklch(63.2% 0.061 293.5)

  7. Step 600

    600

    #756C97

    oklch(55.6% 0.067 293.7)

  8. Step 700

    700

    #625A81

    oklch(49.1% 0.062 293.4)

  9. Step 800

    800

    #504A69

    oklch(42.8% 0.051 293)

  10. Step 900

    900 (this color)

    #38334A

    oklch(33.6% 0.04 294.1)

  11. Step 950

    950

    #272432

    oklch(27% 0.026 294.4)

Export this scale for Tailwind in the Tailwind colors tool

#38334A 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)#2E364B0.018
Deuteranopia (no green cones)#2E36490.019
Tritanopia (no blue cones)#34373B0.034
Achromatopsia (no color)#3636360.041

Harmonies

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

Complementary

The opposite hue (180°).

  • #38334A

    #38334A

    oklch(33.6% 0.04 294.1)

  • #373921

    #373921

    oklch(33.6% 0.039 112.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #38334A

    #38334A

    oklch(33.6% 0.04 294.1)

  • #2C374C

    #2C374C

    oklch(33.6% 0.04 263)

  • #423043

    #423043

    oklch(33.7% 0.041 324.7)

Open the analogous palette in the generator

Split complementary

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

  • #38334A

    #38334A

    oklch(33.6% 0.04 294.1)

  • #41351E

    #41351E

    oklch(33.6% 0.04 82.8)

  • #2A3D2A

    #2A3D2A

    oklch(33.8% 0.041 144.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #38334A

    #38334A

    oklch(33.6% 0.04 294.1)

  • #483123

    #483123

    oklch(33.6% 0.041 52.2)

  • #1F3E35

    #1F3E35

    oklch(33.7% 0.041 173)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #38334A

    #38334A

    oklch(33.6% 0.04 294.1)

  • #4A2F2D

    #4A2F2D

    oklch(33.7% 0.04 24.1)

  • #373921

    #373921

    oklch(33.6% 0.039 112.4)

  • #1B3D41

    #1B3D41

    oklch(33.6% 0.04 205.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #38334A 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.