#6E39B9#6E39B9

#6E39B9 is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.2% C 0.190 H 297.8°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#6E39B9
RGBrgb(110, 57, 185)
HSLhsl(265, 53%, 47%)
HSVhsv(265, 69%, 73%)
CMYKcmyk(40.5%, 69.2%, 0%, 27.5%)
CIE-LABlab(37.38, 49.68, -59.00)
CIE-LCHlch(37.38, 77.13, 310.09°)
OKLaboklab(48.21% 0.0887 -0.1685)
OKLCHoklch(48.21% 0.19 297.8)
XYZxyz(16.6482, 9.7438, 46.8931)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E39B9 #84B939
analogous
#3944B9 #6E39B9 #AE39B9
triadic
#6E39B9 #B96E39 #39B96E
tetradic
#6E39B9 #B93944 #84B939 #39B9AE
square
#6E39B9 #B93944 #84B939 #39B9AE
split-complementary
#6E39B9 #B9AE39 #44B939
monochromatic
#361C5B #522B8A #6E39B9 #8E61CE #B090DD

Accessibility & contrast

On white

7.12
#6E39B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#6E39B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E39B9
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E39B9#FFFFFF#000000##FFFFFF
##6E39B91.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BD
Deuteranopia (green-blind)
#0057B6
Tritanopia (blue-blind)
#5C5875
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6e39b9;
/* rgb */ color: rgb(110, 57, 185);
/* oklch */ color: oklch(48.2% 0.190 297.8);
Tailwind
colors: {
  custom: {
    50: '#9e73cf',
    500: '#6e39b9',
    950: '#000000',
  },
}
SCSS
$custom: #6e39b9;
$custom-light: #9e73cf;
$custom-dark: #000000;
JSON
{
  "hex": "#6e39b9",
  "rgb": {
    "r": 110,
    "g": 57,
    "b": 185
  },
  "hsl": {
    "h": 264.844,
    "s": 52.893,
    "l": 47.451
  },
  "oklch": {
    "l": 0.48206,
    "c": 0.19038,
    "h": 297.8
  },
  "luminance": 0.09744
}

Semantic roles & 50–950 ramp

primary
#6E39B9
secondary
#ADC886
accent
#DC4BA0
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6E39B9

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

Preview Lab → · Contrast checker → · Palette generator →

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