#6E237E#6E237E

#6E237E is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.2% C 0.156 H 320.0°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#6E237E
RGBrgb(110, 35, 126)
HSLhsl(289, 57%, 32%)
HSVhsv(289, 72%, 49%)
CMYKcmyk(12.7%, 72.2%, 0%, 50.6%)
CIE-LABlab(29.47, 46.15, -35.91)
CIE-LCHlch(29.47, 58.47, 322.11°)
OKLaboklab(41.22% 0.1199 -0.1005)
OKLCHoklch(41.22% 0.156 320)
XYZxyz(10.7969, 6.0240, 20.3286)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E237E #337E23
analogous
#41237E #6E237E #7E2361
triadic
#6E237E #7E6E23 #237E6E
tetradic
#6E237E #7E4123 #337E23 #23617E
square
#6E237E #7E4123 #337E23 #23617E
split-complementary
#6E237E #617E23 #237E41
monochromatic
#1A081E #44164E #6E237E #9830AE #B74ECE

Accessibility & contrast

On white

9.53
#6E237E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#6E237E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E237E
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E237E#FFFFFF#000000##FFFFFF
##6E237E1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004081
Deuteranopia (green-blind)
#2B487C
Tritanopia (blue-blind)
#6E344E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6e237e;
/* rgb */ color: rgb(110, 35, 126);
/* oklch */ color: oklch(41.2% 0.156 320.0);
Tailwind
colors: {
  custom: {
    50: '#9b65a4',
    500: '#6e237e',
    950: '#000000',
  },
}
SCSS
$custom: #6e237e;
$custom-light: #9b65a4;
$custom-dark: #000000;
JSON
{
  "hex": "#6e237e",
  "rgb": {
    "r": 110,
    "g": 35,
    "b": 126
  },
  "hsl": {
    "h": 289.451,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41217,
    "c": 0.15645,
    "h": 320
  },
  "luminance": 0.06023
}

Semantic roles & 50–950 ramp

primary
#6E237E
secondary
#5EB04C
accent
#E04863
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6E237E

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

Preview Lab → · Contrast checker → · Palette generator →

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