#6E239A#6E239A

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

Color values

HEX#6E239A
RGBrgb(110, 35, 154)
HSLhsl(278, 63%, 37%)
HSVhsv(278, 77%, 60%)
CMYKcmyk(28.6%, 77.3%, 0%, 39.6%)
CIE-LABlab(31.46, 52.12, -50.03)
CIE-LCHlch(31.46, 72.25, 316.17°)
OKLaboklab(43.26% 0.1161 -0.142)
OKLCHoklch(43.26% 0.183 309.3)
XYZxyz(12.8630, 6.8504, 31.2102)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E239A #4F9A23
analogous
#32239A #6E239A #9A238B
triadic
#6E239A #9A6E23 #239A6E
tetradic
#6E239A #9A3223 #4F9A23 #238B9A
square
#6E239A #9A3223 #4F9A23 #238B9A
split-complementary
#6E239A #8B9A23 #239A32
monochromatic
#270C36 #4A1868 #6E239A #922ECC #AC5DDA

Accessibility & contrast

On white

8.86
#6E239A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#6E239A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E239A
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E239A#FFFFFF#000000##FFFFFF
##6E239A1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e239a;
/* rgb */ color: rgb(110, 35, 154);
/* oklch */ color: oklch(43.3% 0.183 309.3);
Tailwind
colors: {
  custom: {
    50: '#9c66b9',
    500: '#6e239a',
    950: '#000000',
  },
}
SCSS
$custom: #6e239a;
$custom-light: #9c66b9;
$custom-dark: #000000;
JSON
{
  "hex": "#6e239a",
  "rgb": {
    "r": 110,
    "g": 35,
    "b": 154
  },
  "hsl": {
    "h": 277.815,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.43261,
    "c": 0.18341,
    "h": 309.3
  },
  "luminance": 0.0685
}

Semantic roles & 50–950 ramp

primary
#6E239A
secondary
#7FBF5A
accent
#E6427F
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6E239A

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

Preview Lab → · Contrast checker → · Palette generator →

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