#6E237A#6E237A

#6E237A is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.0% C 0.153 H 321.8°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#6E237A
RGBrgb(110, 35, 122)
HSLhsl(292, 55%, 31%)
HSVhsv(292, 71%, 48%)
CMYKcmyk(9.8%, 71.3%, 0%, 52.2%)
CIE-LABlab(29.22, 45.35, -33.79)
CIE-LCHlch(29.22, 56.55, 323.30°)
OKLaboklab(40.95% 0.1201 -0.0943)
OKLCHoklch(40.95% 0.153 321.8)
XYZxyz(10.5439, 5.9228, 18.9964)
Luminance0.0592 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E237A #2F7A23
analogous
#42237A #6E237A #7A235A
triadic
#6E237A #7A6E23 #237A6E
tetradic
#6E237A #7A4223 #2F7A23 #235A7A
square
#6E237A #7A4223 #2F7A23 #235A7A
split-complementary
#6E237A #5A7A23 #237A42
monochromatic
#18081B #43154A #6E237A #9931AA #BA4CCC

Accessibility & contrast

On white

9.61
#6E237A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#6E237A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E237A
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E237A#FFFFFF#000000##FFFFFF
##6E237A1.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053F7D
Deuteranopia (green-blind)
#2E4878
Tritanopia (blue-blind)
#6F324C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6e237a;
/* rgb */ color: rgb(110, 35, 122);
/* oklch */ color: oklch(41.0% 0.153 321.8);
Tailwind
colors: {
  custom: {
    50: '#9b65a1',
    500: '#6e237a',
    950: '#000000',
  },
}
SCSS
$custom: #6e237a;
$custom-light: #9b65a1;
$custom-dark: #000000;
JSON
{
  "hex": "#6e237a",
  "rgb": {
    "r": 110,
    "g": 35,
    "b": 122
  },
  "hsl": {
    "h": 291.724,
    "s": 55.414,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40951,
    "c": 0.1527,
    "h": 321.8
  },
  "luminance": 0.05922
}

Semantic roles & 50–950 ramp

primary
#6E237A
secondary
#59AD4C
accent
#DF495E
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060F
muted
#7E7A7E

Preview Lab

Preview with #6E237A

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

Preview Lab → · Contrast checker → · Palette generator →

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