#6E39B2#6E39B2

#6E39B2 is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.7% C 0.182 H 299.5°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#6E39B2
RGBrgb(110, 57, 178)
HSLhsl(266, 51%, 46%)
HSVhsv(266, 68%, 70%)
CMYKcmyk(38.2%, 68%, 0%, 30.2%)
CIE-LABlab(36.85, 47.87, -55.73)
CIE-LCHlch(36.85, 73.47, 310.66°)
OKLaboklab(47.66% 0.0897 -0.1588)
OKLCHoklch(47.66% 0.182 299.5)
XYZxyz(15.9274, 9.4554, 43.0968)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E39B2 #7DB239
analogous
#3940B2 #6E39B2 #AA39B2
triadic
#6E39B2 #B26E39 #39B26E
tetradic
#6E39B2 #B23940 #7DB239 #39B2AA
square
#6E39B2 #B23940 #7DB239 #39B2AA
split-complementary
#6E39B2 #B2AA39 #40B239
monochromatic
#351B55 #512A84 #6E39B2 #8D5DCB #AE8BDA

Accessibility & contrast

On white

7.26
#6E39B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#6E39B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E39B2
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E39B2#FFFFFF#000000##FFFFFF
##6E39B21.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B6
Deuteranopia (green-blind)
#0056AF
Tritanopia (blue-blind)
#5E5571
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6e39b2;
/* rgb */ color: rgb(110, 57, 178);
/* oklch */ color: oklch(47.7% 0.182 299.5);
Tailwind
colors: {
  custom: {
    50: '#9d73ca',
    500: '#6e39b2',
    950: '#000000',
  },
}
SCSS
$custom: #6e39b2;
$custom-light: #9d73ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6e39b2",
  "rgb": {
    "r": 110,
    "g": 57,
    "b": 178
  },
  "hsl": {
    "h": 266.281,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47658,
    "c": 0.18243,
    "h": 299.5
  },
  "luminance": 0.09456
}

Semantic roles & 50–950 ramp

primary
#6E39B2
secondary
#A7C482
accent
#DB4D9D
background
#FAF7FC
surface
#F3EDF8
border
#CDC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6E39B2

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

Preview Lab → · Contrast checker → · Palette generator →

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