#6E239D#6E239D

#6E239D is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.5% C 0.186 H 308.3°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#6E239D
RGBrgb(110, 35, 157)
HSLhsl(277, 64%, 38%)
HSVhsv(277, 78%, 62%)
CMYKcmyk(29.9%, 77.7%, 0%, 38.4%)
CIE-LABlab(31.70, 52.79, -51.48)
CIE-LCHlch(31.70, 73.74, 315.72°)
OKLaboklab(43.5% 0.1155 -0.1462)
OKLCHoklch(43.5% 0.186 308.3)
XYZxyz(13.1160, 6.9516, 32.5426)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E239D #529D23
analogous
#31239D #6E239D #9D238F
triadic
#6E239D #9D6E23 #239D6E
tetradic
#6E239D #9D3123 #529D23 #238F9D
square
#6E239D #9D3123 #529D23 #238F9D
split-complementary
#6E239D #8F9D23 #239D31
monochromatic
#280D39 #4B186B #6E239D #912ECF #AB5FDB

Accessibility & contrast

On white

8.79
#6E239D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#6E239D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E239D
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E239D#FFFFFF#000000##FFFFFF
##6E239D1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A0
Deuteranopia (green-blind)
#004B9B
Tritanopia (blue-blind)
#66415F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6e239d;
/* rgb */ color: rgb(110, 35, 157);
/* oklch */ color: oklch(43.5% 0.186 308.3);
Tailwind
colors: {
  custom: {
    50: '#9c67bb',
    500: '#6e239d',
    950: '#000000',
  },
}
SCSS
$custom: #6e239d;
$custom-light: #9c67bb;
$custom-dark: #000000;
JSON
{
  "hex": "#6e239d",
  "rgb": {
    "r": 110,
    "g": 35,
    "b": 157
  },
  "hsl": {
    "h": 276.885,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43498,
    "c": 0.18633,
    "h": 308.3
  },
  "luminance": 0.06951
}

Semantic roles & 50–950 ramp

primary
#6E239D
secondary
#82C05C
accent
#E74181
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6E239D

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

Preview Lab → · Contrast checker → · Palette generator →

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