#6E337D#6E337D

#6E337D is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.2% C 0.132 H 319.1°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#6E337D
RGBrgb(110, 51, 125)
HSLhsl(288, 42%, 35%)
HSVhsv(288, 59%, 49%)
CMYKcmyk(12%, 59.2%, 0%, 51%)
CIE-LABlab(32.18, 38.31, -30.97)
CIE-LCHlch(32.18, 49.27, 321.04°)
OKLaboklab(43.15% 0.0996 -0.0862)
OKLCHoklch(43.15% 0.132 319.1)
XYZxyz(11.3154, 7.1638, 20.1848)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E337D #427D33
analogous
#49337D #6E337D #7D3367
triadic
#6E337D #7D6E33 #337D6E
tetradic
#6E337D #7D4933 #427D33 #33677D
square
#6E337D #7D4933 #427D33 #33677D
split-complementary
#6E337D #677D33 #337D49
monochromatic
#221026 #482152 #6E337D #9445A8 #B069C2

Accessibility & contrast

On white

8.63
#6E337D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#6E337D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E337D
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E337D#FFFFFF#000000##FFFFFF
##6E337D1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23487F
Deuteranopia (green-blind)
#384E7B
Tritanopia (blue-blind)
#6E3E53
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6e337d;
/* rgb */ color: rgb(110, 51, 125);
/* oklch */ color: oklch(43.2% 0.132 319.1);
Tailwind
colors: {
  custom: {
    50: '#9a6ea3',
    500: '#6e337d',
    950: '#000000',
  },
}
SCSS
$custom: #6e337d;
$custom-light: #9a6ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#6e337d",
  "rgb": {
    "r": 110,
    "g": 51,
    "b": 125
  },
  "hsl": {
    "h": 287.838,
    "s": 42.045,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43154,
    "c": 0.13172,
    "h": 319.1
  },
  "luminance": 0.07163
}

Semantic roles & 50–950 ramp

primary
#6E337D
secondary
#71AA62
accent
#D2566F
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #6E337D

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#6E337D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva