#6D39AE#6D39AE

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

Color values

HEX#6D39AE
RGBrgb(109, 57, 174)
HSLhsl(267, 51%, 45%)
HSVhsv(267, 67%, 68%)
CMYKcmyk(37.4%, 67.2%, 0%, 31.8%)
CIE-LABlab(36.43, 46.64, -54.04)
CIE-LCHlch(36.43, 71.38, 310.80°)
OKLaboklab(47.24% 0.0888 -0.1539)
OKLCHoklch(47.24% 0.178 300)
XYZxyz(15.4079, 9.2333, 41.0066)
Luminance0.0923 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D39AE #7AAE39
analogous
#393FAE #6D39AE #A739AE
triadic
#6D39AE #AE6D39 #39AE6D
tetradic
#6D39AE #AE393F #7AAE39 #39AEA7
square
#6D39AE #AE393F #7AAE39 #39AEA7
split-complementary
#6D39AE #AEA739 #3FAE39
monochromatic
#331B52 #502A80 #6D39AE #8C5BC9 #AC89D8

Accessibility & contrast

On white

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

On black

2.85
#6D39AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6D39AE#FFFFFF#000000##FFFFFF
##6D39AE1.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B2
Deuteranopia (green-blind)
#0055AC
Tritanopia (blue-blind)
#5F546F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6d39ae;
/* rgb */ color: rgb(109, 57, 174);
/* oklch */ color: oklch(47.2% 0.178 300.0);
Tailwind
colors: {
  custom: {
    50: '#9c73c7',
    500: '#6d39ae',
    950: '#000000',
  },
}
SCSS
$custom: #6d39ae;
$custom-light: #9c73c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6d39ae",
  "rgb": {
    "r": 109,
    "g": 57,
    "b": 174
  },
  "hsl": {
    "h": 266.667,
    "s": 50.649,
    "l": 45.294
  },
  "oklch": {
    "l": 0.47239,
    "c": 0.17769,
    "h": 300
  },
  "luminance": 0.09233
}

Semantic roles & 50–950 ramp

primary
#6D39AE
secondary
#A5C380
accent
#DA4E9C
background
#FAF7FC
surface
#F3EDF8
border
#CDC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6D39AE

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

Preview Lab → · Contrast checker → · Palette generator →

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