#6E39AC#6E39AC

#6E39AC is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.2% C 0.176 H 301.0°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#6E39AC
RGBrgb(110, 57, 172)
HSLhsl(268, 50%, 45%)
HSVhsv(268, 67%, 67%)
CMYKcmyk(36%, 66.9%, 0%, 32.5%)
CIE-LABlab(36.40, 46.34, -52.88)
CIE-LCHlch(36.40, 70.31, 311.23°)
OKLaboklab(47.2% 0.0905 -0.1505)
OKLCHoklch(47.2% 0.176 301)
XYZxyz(15.3381, 9.2197, 39.9932)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E39AC #77AC39
analogous
#393EAC #6E39AC #A739AC
triadic
#6E39AC #AC6E39 #39AC6E
tetradic
#6E39AC #AC393E #77AC39 #39ACA7
square
#6E39AC #AC393E #77AC39 #39ACA7
split-complementary
#6E39AC #ACA739 #3EAC39
monochromatic
#331B50 #512A7E #6E39AC #8D5AC8 #AD88D8

Accessibility & contrast

On white

7.38
#6E39AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#6E39AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E39AC
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E39AC#FFFFFF#000000##FFFFFF
##6E39AC1.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B0
Deuteranopia (green-blind)
#0055AA
Tritanopia (blue-blind)
#61536D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6e39ac;
/* rgb */ color: rgb(110, 57, 172);
/* oklch */ color: oklch(47.2% 0.176 301.0);
Tailwind
colors: {
  custom: {
    50: '#9c73c5',
    500: '#6e39ac',
    950: '#000000',
  },
}
SCSS
$custom: #6e39ac;
$custom-light: #9c73c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6e39ac",
  "rgb": {
    "r": 110,
    "g": 57,
    "b": 172
  },
  "hsl": {
    "h": 267.652,
    "s": 50.218,
    "l": 44.902
  },
  "oklch": {
    "l": 0.47201,
    "c": 0.17557,
    "h": 301
  },
  "luminance": 0.0922
}

Semantic roles & 50–950 ramp

primary
#6E39AC
secondary
#A3C27F
accent
#DA4E99
background
#FAF7FC
surface
#F3EDF8
border
#CDC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6E39AC

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

Preview Lab → · Contrast checker → · Palette generator →

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