#6E236B#6E236B

#6E236B is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.0% C 0.139 H 329.4°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#6E236B
RGBrgb(110, 35, 107)
HSLhsl(302, 52%, 28%)
HSVhsv(302, 68%, 43%)
CMYKcmyk(0%, 68.2%, 2.7%, 56.9%)
CIE-LABlab(28.33, 42.48, -25.65)
CIE-LCHlch(28.33, 49.62, 328.88°)
OKLaboklab(40.02% 0.1198 -0.0707)
OKLCHoklch(40.02% 0.139 329.4)
XYZxyz(9.6852, 5.5793, 14.4739)
Luminance0.0558 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E236B #236E26
analogous
#4B236E #6E236B #6E2345
triadic
#6E236B #6B6E23 #236B6E
tetradic
#6E236B #6E4B23 #236E26 #23456E
square
#6E236B #6E4B23 #236E26 #23456E
split-complementary
#6E236B #456E23 #236E4B
monochromatic
#170717 #40143E #6E236B #9C3298 #C447BF

Accessibility & contrast

On white

9.93
#6E236B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#6E236B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E236B
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E236B#FFFFFF#000000##FFFFFF
##6E236B1.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3C6D
Deuteranopia (green-blind)
#374669
Tritanopia (blue-blind)
#722C44
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6e236b;
/* rgb */ color: rgb(110, 35, 107);
/* oklch */ color: oklch(40.0% 0.139 329.4);
Tailwind
colors: {
  custom: {
    50: '#9a6495',
    500: '#6e236b',
    950: '#000000',
  },
}
SCSS
$custom: #6e236b;
$custom-light: #9a6495;
$custom-dark: #000000;
JSON
{
  "hex": "#6e236b",
  "rgb": {
    "r": 110,
    "g": 35,
    "b": 107
  },
  "hsl": {
    "h": 302.4,
    "s": 51.724,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40021,
    "c": 0.13905,
    "h": 329.4
  },
  "luminance": 0.05579
}

Semantic roles & 50–950 ramp

primary
#6E236B
secondary
#4CA14F
accent
#DB524D
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060D
muted
#7E7A7E

Preview Lab

Preview with #6E236B

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

Preview Lab → · Contrast checker → · Palette generator →

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