#341B48

Closest named color: Dark Purple (#35063E). oklch(28% 0.083 307.5), rgb(52, 27, 72).

Aa

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

About this color

#341B48 is a dark, moderately saturated purple. In OKLCH its lightness is 28%, its chroma 0.083 and its hue 308°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Purple (#35063E), ΔE 0.046 away. White text reads best on it, at 15.03:1.

Hue familyPurples
Lightnessdark (28%)
Chromamoderately saturated (0.083)
Temperaturein between
Nearest nameDark Purple (#35063E)
Black text1.39:1
White text15.03:1

Values

HEX#341B48
RGBrgb(52, 27, 72)
HSLhsl(273, 45%, 19%)
OKLCHoklch(28% 0.083 307.5)

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 #341B48 15.03:1 AAA Lc -104.5 Preferred for body text
Black text on #341B48 1.39:1 Fails Lc 0.0 Not readable
#341B48 text on white 15.03:1 AAA Lc 101.7 Preferred for body text
#341B48 text on black 1.39: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

    #F8F3FD

    oklch(97.1% 0.014 308.3)

  2. Step 100

    100

    #EFE5F9

    oklch(93.6% 0.029 308.1)

  3. Step 200

    200

    #E3D0F6

    oklch(88.5% 0.055 307.8)

  4. Step 300

    300

    #D2B0F2

    oklch(80.9% 0.098 307.8)

  5. Step 400

    400

    #BB83EC

    oklch(70.7% 0.158 307.4)

  6. Step 500

    500

    #AB5FE6

    oklch(63.2% 0.202 307.6)

  7. Step 600

    600

    #963FD3

    oklch(55.5% 0.219 307.6)

  8. Step 700

    700

    #802FB7

    oklch(49% 0.204 307.5)

  9. Step 800

    800

    #682994

    oklch(42.6% 0.169 307.6)

  10. Step 900

    900

    #552876

    oklch(37.8% 0.131 307.9)

  11. Step 950

    950 (this color)

    #341B48

    oklch(28% 0.083 307.5)

Export this scale for Tailwind in the Tailwind colors tool

#341B48 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)#0B26490.069
Deuteranopia (no green cones)#1527470.061
Tritanopia (no blue cones)#31232E0.059
Achromatopsia (no color)#2626260.084

Harmonies

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

Complementary

The opposite hue (180°).

  • #341B48

    #341B48

    oklch(28% 0.083 307.5)

  • #1F2F00

    #1F2F00

    oklch(28% 0.072 127.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #341B48

    #341B48

    oklch(28% 0.083 307.5)

  • #202251

    #202251

    oklch(27.9% 0.084 277.6)

  • #411537

    #411537

    oklch(27.9% 0.083 337.4)

Open the analogous palette in the generator

Split complementary

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

  • #341B48

    #341B48

    oklch(28% 0.083 307.5)

  • #312900

    #312900

    oklch(28.1% 0.058 97.8)

  • #00321B

    #00321B

    oklch(27.9% 0.066 157.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #341B48

    #341B48

    oklch(28% 0.083 307.5)

  • #3D2200

    #3D2200

    oklch(28.1% 0.062 67.2)

  • #00302D

    #00302D

    oklch(27.9% 0.048 188.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #341B48

    #341B48

    oklch(28% 0.083 307.5)

  • #491505

    #491505

    oklch(27.9% 0.083 37.3)

  • #1F2F00

    #1F2F00

    oklch(28% 0.072 127.2)

  • #002F39

    #002F39

    oklch(28.1% 0.05 216.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #341B48 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.