#6E39C5#6E39C5

#6E39C5 is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.2% C 0.204 H 295.1°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#6E39C5
RGBrgb(110, 57, 197)
HSLhsl(263, 55%, 50%)
HSVhsv(263, 71%, 77%)
CMYKcmyk(44.2%, 71.1%, 0%, 22.7%)
CIE-LABlab(38.33, 52.80, -64.50)
CIE-LCHlch(38.33, 83.35, 309.31°)
OKLaboklab(49.18% 0.0865 -0.1846)
OKLCHoklch(49.18% 0.204 295.1)
XYZxyz(17.9689, 10.2720, 53.8485)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E39C5 #90C539
analogous
#394AC5 #6E39C5 #B439C5
triadic
#6E39C5 #C56E39 #39C56E
tetradic
#6E39C5 #C5394A #90C539 #39C5B4
square
#6E39C5 #C5394A #90C539 #39C5B4
split-complementary
#6E39C5 #C5B439 #4AC539
monochromatic
#391E66 #532B96 #6E39C5 #9168D3 #B397E1

Accessibility & contrast

On white

6.88
#6E39C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#6E39C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E39C5
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E39C5#FFFFFF#000000##FFFFFF
##6E39C51.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC9
Deuteranopia (green-blind)
#0058C2
Tritanopia (blue-blind)
#565D7B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6e39c5;
/* rgb */ color: rgb(110, 57, 197);
/* oklch */ color: oklch(49.2% 0.204 295.1);
Tailwind
colors: {
  custom: {
    50: '#9f74d8',
    500: '#6e39c5',
    950: '#000000',
  },
}
SCSS
$custom: #6e39c5;
$custom-light: #9f74d8;
$custom-dark: #000000;
JSON
{
  "hex": "#6e39c5",
  "rgb": {
    "r": 110,
    "g": 57,
    "b": 197
  },
  "hsl": {
    "h": 262.714,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.49176,
    "c": 0.20387,
    "h": 295.1
  },
  "luminance": 0.10272
}

Semantic roles & 50–950 ramp

primary
#6E39C5
secondary
#B5CD8D
accent
#DE49A6
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6E39C5

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

Preview Lab → · Contrast checker → · Palette generator →

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