#38334C

Closest named color: Gunmetal (#293241). oklch(33.7% 0.044 293.1), rgb(56, 51, 76).

Aa

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

About this color

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

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

Values

HEX#38334C
RGBrgb(56, 51, 76)
HSLhsl(252, 20%, 25%)
OKLCHoklch(33.7% 0.044 293.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 #38334C 12.02:1 AAA Lc -101.1 Preferred for body text
Black text on #38334C 1.74:1 Fails Lc 0.0 Not readable
#38334C text on white 12.02:1 AAA Lc 97.5 Preferred for body text
#38334C 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

    #EAE9F0

    oklch(93.7% 0.009 292.8)

  3. Step 200

    200

    #D9D7E4

    oklch(88.5% 0.018 293.1)

  4. Step 300

    300

    #C1BDD4

    oklch(80.9% 0.032 293.6)

  5. Step 400

    400

    #A19BBF

    oklch(70.7% 0.052 292.6)

  6. Step 500

    500

    #8B82AF

    oklch(63.1% 0.067 293.5)

  7. Step 600

    600

    #756B9A

    oklch(55.5% 0.073 293.7)

  8. Step 700

    700

    #625984

    oklch(49% 0.069 293.3)

  9. Step 800

    800

    #50496B

    oklch(42.7% 0.056 293.3)

  10. Step 900

    900 (this color)

    #38334C

    oklch(33.7% 0.044 293.1)

  11. Step 950

    950

    #272433

    oklch(27% 0.028 293.6)

Export this scale for Tailwind in the Tailwind colors tool

#38334C 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)#2D374D0.020
Deuteranopia (no green cones)#2D364B0.020
Tritanopia (no blue cones)#34373C0.036
Achromatopsia (no color)#3636360.044

Harmonies

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

Complementary

The opposite hue (180°).

  • #38334C

    #38334C

    oklch(33.7% 0.044 293.1)

  • #373A1F

    #373A1F

    oklch(33.8% 0.044 113.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #38334C

    #38334C

    oklch(33.7% 0.044 293.1)

  • #2B374E

    #2B374E

    oklch(33.7% 0.044 263)

  • #423044

    #423044

    oklch(33.8% 0.042 323.1)

Open the analogous palette in the generator

Split complementary

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

  • #38334C

    #38334C

    oklch(33.7% 0.044 293.1)

  • #42351C

    #42351C

    oklch(33.7% 0.043 82.7)

  • #2A3D28

    #2A3D28

    oklch(33.7% 0.044 142.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #38334C

    #38334C

    oklch(33.7% 0.044 293.1)

  • #493121

    #493121

    oklch(33.7% 0.044 54.4)

  • #1D3F35

    #1D3F35

    oklch(33.9% 0.044 172.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #38334C

    #38334C

    oklch(33.7% 0.044 293.1)

  • #4C2E2D

    #4C2E2D

    oklch(33.8% 0.045 21.8)

  • #373A1F

    #373A1F

    oklch(33.8% 0.044 113.9)

  • #173E41

    #173E41

    oklch(33.7% 0.044 202.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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