#6E39B0#6E39B0

#6E39B0 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.5% C 0.180 H 300.0°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#6E39B0
RGBrgb(110, 57, 176)
HSLhsl(267, 51%, 46%)
HSVhsv(267, 68%, 69%)
CMYKcmyk(37.5%, 67.6%, 0%, 31%)
CIE-LABlab(36.70, 47.36, -54.78)
CIE-LCHlch(36.70, 72.42, 310.84°)
OKLaboklab(47.51% 0.09 -0.1561)
OKLCHoklch(47.51% 0.18 300)
XYZxyz(15.7281, 9.3757, 42.0469)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E39B0 #7BB039
analogous
#393FB0 #6E39B0 #A939B0
triadic
#6E39B0 #B06E39 #39B06E
tetradic
#6E39B0 #B0393F #7BB039 #39B0A9
square
#6E39B0 #B0393F #7BB039 #39B0A9
split-complementary
#6E39B0 #B0A939 #3FB039
monochromatic
#341B54 #512A82 #6E39B0 #8D5CCA #AD8AD9

Accessibility & contrast

On white

7.30
#6E39B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#6E39B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E39B0
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E39B0#FFFFFF#000000##FFFFFF
##6E39B01.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B4
Deuteranopia (green-blind)
#0055AD
Tritanopia (blue-blind)
#5F5570
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6e39b0;
/* rgb */ color: rgb(110, 57, 176);
/* oklch */ color: oklch(47.5% 0.180 300.0);
Tailwind
colors: {
  custom: {
    50: '#9d73c8',
    500: '#6e39b0',
    950: '#000000',
  },
}
SCSS
$custom: #6e39b0;
$custom-light: #9d73c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6e39b0",
  "rgb": {
    "r": 110,
    "g": 57,
    "b": 176
  },
  "hsl": {
    "h": 266.723,
    "s": 51.073,
    "l": 45.686
  },
  "oklch": {
    "l": 0.47505,
    "c": 0.18015,
    "h": 300
  },
  "luminance": 0.09376
}

Semantic roles & 50–950 ramp

primary
#6E39B0
secondary
#A6C481
accent
#DB4D9C
background
#FAF7FC
surface
#F3EDF8
border
#CDC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6E39B0

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

Preview Lab → · Contrast checker → · Palette generator →

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