#6E237B#6E237B

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

Color values

HEX#6E237B
RGBrgb(110, 35, 123)
HSLhsl(291, 56%, 31%)
HSVhsv(291, 72%, 48%)
CMYKcmyk(10.6%, 71.5%, 0%, 51.8%)
CIE-LABlab(29.28, 45.55, -34.33)
CIE-LCHlch(29.28, 57.03, 323.00°)
OKLaboklab(41.02% 0.12 -0.0959)
OKLCHoklch(41.02% 0.154 321.4)
XYZxyz(10.6062, 5.9477, 19.3244)
Luminance0.0595 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E237B #307B23
analogous
#42237B #6E237B #7B235C
triadic
#6E237B #7B6E23 #237B6E
tetradic
#6E237B #7B4223 #307B23 #235C7B
square
#6E237B #7B4223 #307B23 #235C7B
split-complementary
#6E237B #5C7B23 #237B42
monochromatic
#19081C #43154B #6E237B #9931AB #B94CCC

Accessibility & contrast

On white

9.59
#6E237B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#6E237B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E237B
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E237B#FFFFFF#000000##FFFFFF
##6E237B1.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03407E
Deuteranopia (green-blind)
#2D4879
Tritanopia (blue-blind)
#6F334C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6e237b;
/* rgb */ color: rgb(110, 35, 123);
/* oklch */ color: oklch(41.0% 0.154 321.4);
Tailwind
colors: {
  custom: {
    50: '#9b65a2',
    500: '#6e237b',
    950: '#000000',
  },
}
SCSS
$custom: #6e237b;
$custom-light: #9b65a2;
$custom-dark: #000000;
JSON
{
  "hex": "#6e237b",
  "rgb": {
    "r": 110,
    "g": 35,
    "b": 123
  },
  "hsl": {
    "h": 291.136,
    "s": 55.696,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41017,
    "c": 0.15364,
    "h": 321.4
  },
  "luminance": 0.05947
}

Semantic roles & 50–950 ramp

primary
#6E237B
secondary
#5BAE4C
accent
#DF495F
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6E237B

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

Preview Lab → · Contrast checker → · Palette generator →

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