#6E39B4#6E39B4

#6E39B4 is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.8% C 0.185 H 299.0°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#6E39B4
RGBrgb(110, 57, 180)
HSLhsl(266, 52%, 46%)
HSVhsv(266, 68%, 71%)
CMYKcmyk(38.9%, 68.3%, 0%, 29.4%)
CIE-LABlab(37.00, 48.39, -56.67)
CIE-LCHlch(37.00, 74.52, 310.49°)
OKLaboklab(47.81% 0.0894 -0.1616)
OKLCHoklch(47.81% 0.185 299)
XYZxyz(16.1297, 9.5363, 44.1621)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E39B4 #7FB439
analogous
#3941B4 #6E39B4 #AC39B4
triadic
#6E39B4 #B46E39 #39B46E
tetradic
#6E39B4 #B43941 #7FB439 #39B4AC
square
#6E39B4 #B43941 #7FB439 #39B4AC
split-complementary
#6E39B4 #B4AC39 #41B439
monochromatic
#351C57 #522A86 #6E39B4 #8E5ECC #AE8DDB

Accessibility & contrast

On white

7.22
#6E39B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#6E39B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E39B4
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E39B4#FFFFFF#000000##FFFFFF
##6E39B41.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B8
Deuteranopia (green-blind)
#0056B1
Tritanopia (blue-blind)
#5E5672
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6e39b4;
/* rgb */ color: rgb(110, 57, 180);
/* oklch */ color: oklch(47.8% 0.185 299.0);
Tailwind
colors: {
  custom: {
    50: '#9d73cb',
    500: '#6e39b4',
    950: '#000000',
  },
}
SCSS
$custom: #6e39b4;
$custom-light: #9d73cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6e39b4",
  "rgb": {
    "r": 110,
    "g": 57,
    "b": 180
  },
  "hsl": {
    "h": 265.854,
    "s": 51.899,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47813,
    "c": 0.1847,
    "h": 299
  },
  "luminance": 0.09537
}

Semantic roles & 50–950 ramp

primary
#6E39B4
secondary
#A9C583
accent
#DB4C9E
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6E39B4

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

Preview Lab → · Contrast checker → · Palette generator →

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