#6E239B#6E239B

#6E239B is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.3% C 0.184 H 309.0°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#6E239B
RGBrgb(110, 35, 155)
HSLhsl(278, 63%, 37%)
HSVhsv(278, 77%, 61%)
CMYKcmyk(29%, 77.4%, 0%, 39.2%)
CIE-LABlab(31.54, 52.34, -50.52)
CIE-LCHlch(31.54, 72.75, 316.02°)
OKLaboklab(43.34% 0.1159 -0.1434)
OKLCHoklch(43.34% 0.184 309)
XYZxyz(12.9466, 6.8839, 31.6507)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E239B #509B23
analogous
#32239B #6E239B #9B238C
triadic
#6E239B #9B6E23 #239B6E
tetradic
#6E239B #9B3223 #509B23 #238C9B
square
#6E239B #9B3223 #509B23 #238C9B
split-complementary
#6E239B #8C9B23 #239B32
monochromatic
#270C37 #4B1869 #6E239B #912ECD #AC5EDB

Accessibility & contrast

On white

8.84
#6E239B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#6E239B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E239B
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E239B#FFFFFF#000000##FFFFFF
##6E239B1.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479E
Deuteranopia (green-blind)
#004B99
Tritanopia (blue-blind)
#67405E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6e239b;
/* rgb */ color: rgb(110, 35, 155);
/* oklch */ color: oklch(43.3% 0.184 309.0);
Tailwind
colors: {
  custom: {
    50: '#9c67b9',
    500: '#6e239b',
    950: '#000000',
  },
}
SCSS
$custom: #6e239b;
$custom-light: #9c67b9;
$custom-dark: #000000;
JSON
{
  "hex": "#6e239b",
  "rgb": {
    "r": 110,
    "g": 35,
    "b": 155
  },
  "hsl": {
    "h": 277.5,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4334,
    "c": 0.18438,
    "h": 309
  },
  "luminance": 0.06884
}

Semantic roles & 50–950 ramp

primary
#6E239B
secondary
#80BF5A
accent
#E6427F
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6E239B

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

Preview Lab → · Contrast checker → · Palette generator →

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