#6E39C2#6E39C2

#6E39C2 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 48.9% C 0.201 H 295.7°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#6E39C2
RGBrgb(110, 57, 194)
HSLhsl(263, 55%, 49%)
HSVhsv(263, 71%, 76%)
CMYKcmyk(43.3%, 70.6%, 0%, 23.9%)
CIE-LABlab(38.09, 52.02, -63.14)
CIE-LCHlch(38.09, 81.80, 309.48°)
OKLaboklab(48.93% 0.0871 -0.1806)
OKLCHoklch(48.93% 0.201 295.7)
XYZxyz(17.6285, 10.1359, 52.0561)
Luminance0.1014 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E39C2 #8DC239
analogous
#3948C2 #6E39C2 #B339C2
triadic
#6E39C2 #C26E39 #39C26E
tetradic
#6E39C2 #C23948 #8DC239 #39C2B3
square
#6E39C2 #C23948 #8DC239 #39C2B3
split-complementary
#6E39C2 #C2B339 #48C239
monochromatic
#381D63 #532B93 #6E39C2 #9066D2 #B295E0

Accessibility & contrast

On white

6.94
#6E39C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#6E39C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E39C2
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E39C2#FFFFFF#000000##FFFFFF
##6E39C21.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC6
Deuteranopia (green-blind)
#0058BF
Tritanopia (blue-blind)
#575B7A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6e39c2;
/* rgb */ color: rgb(110, 57, 194);
/* oklch */ color: oklch(48.9% 0.201 295.7);
Tailwind
colors: {
  custom: {
    50: '#9f74d5',
    500: '#6e39c2',
    950: '#000000',
  },
}
SCSS
$custom: #6e39c2;
$custom-light: #9f74d5;
$custom-dark: #000000;
JSON
{
  "hex": "#6e39c2",
  "rgb": {
    "r": 110,
    "g": 57,
    "b": 194
  },
  "hsl": {
    "h": 263.212,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.4893,
    "c": 0.20052,
    "h": 295.7
  },
  "luminance": 0.10136
}

Semantic roles & 50–950 ramp

primary
#6E39C2
secondary
#B3CB8B
accent
#DE4AA5
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6E39C2

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

Preview Lab → · Contrast checker → · Palette generator →

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