#6A39D0#6A39D0

#6A39D0 is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.7% C 0.216 H 291.3°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#6A39D0
RGBrgb(106, 57, 208)
HSLhsl(259, 62%, 52%)
HSVhsv(259, 73%, 82%)
CMYKcmyk(49%, 72.6%, 0%, 18.4%)
CIE-LABlab(38.80, 55.05, -70.13)
CIE-LCHlch(38.80, 89.15, 308.13°)
OKLaboklab(49.69% 0.0785 -0.2013)
OKLCHoklch(49.69% 0.216 291.3)
XYZxyz(18.7889, 10.5438, 60.7074)
Luminance0.1054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A39D0 #9FD039
analogous
#3954D0 #6A39D0 #B639D0
triadic
#6A39D0 #D06A39 #39D06A
tetradic
#6A39D0 #D03954 #9FD039 #39D0B6
square
#6A39D0 #D03954 #9FD039 #39D0B6
split-complementary
#6A39D0 #D0B639 #54D039
monochromatic
#381B73 #5027A5 #6A39D0 #8F6ADC #B49CE7

Accessibility & contrast

On white

6.76
#6A39D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#6A39D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A39D0
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A39D0#FFFFFF#000000##FFFFFF
##6A39D01.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED4
Deuteranopia (green-blind)
#0058CD
Tritanopia (blue-blind)
#486181
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6a39d0;
/* rgb */ color: rgb(106, 57, 208);
/* oklch */ color: oklch(49.7% 0.216 291.3);
Tailwind
colors: {
  custom: {
    50: '#9e74e0',
    500: '#6a39d0',
    950: '#000000',
  },
}
SCSS
$custom: #6a39d0;
$custom-light: #9e74e0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a39d0",
  "rgb": {
    "r": 106,
    "g": 57,
    "b": 208
  },
  "hsl": {
    "h": 259.47,
    "s": 61.633,
    "l": 51.961
  },
  "oklch": {
    "l": 0.49694,
    "c": 0.21602,
    "h": 291.3
  },
  "luminance": 0.10544
}

Semantic roles & 50–950 ramp

primary
#6A39D0
secondary
#BED391
accent
#E543B0
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6A39D0

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

Preview Lab → · Contrast checker → · Palette generator →

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