#6A39C7#6A39C7

#6A39C7 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 48.9% C 0.206 H 293.0°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#6A39C7
RGBrgb(106, 57, 199)
HSLhsl(261, 56%, 50%)
HSVhsv(261, 71%, 78%)
CMYKcmyk(46.7%, 71.4%, 0%, 22%)
CIE-LABlab(38.05, 52.64, -66.14)
CIE-LCHlch(38.05, 84.53, 308.52°)
OKLaboklab(48.93% 0.0804 -0.1896)
OKLCHoklch(48.93% 0.206 293)
XYZxyz(17.7129, 10.1134, 55.0406)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A39C7 #96C739
analogous
#394FC7 #6A39C7 #B139C7
triadic
#6A39C7 #C76A39 #39C76A
tetradic
#6A39C7 #C7394F #96C739 #39C7B1
square
#6A39C7 #C7394F #96C739 #39C7B1
split-complementary
#6A39C7 #C7B139 #4FC739
monochromatic
#371D68 #512B98 #6A39C7 #8E69D4 #B298E2

Accessibility & contrast

On white

6.95
#6A39C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#6A39C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A39C7
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A39C7#FFFFFF#000000##FFFFFF
##6A39C71.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCB
Deuteranopia (green-blind)
#0057C4
Tritanopia (blue-blind)
#4E5E7C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6a39c7;
/* rgb */ color: rgb(106, 57, 199);
/* oklch */ color: oklch(48.9% 0.206 293.0);
Tailwind
colors: {
  custom: {
    50: '#9d74d9',
    500: '#6a39c7',
    950: '#000000',
  },
}
SCSS
$custom: #6a39c7;
$custom-light: #9d74d9;
$custom-dark: #000000;
JSON
{
  "hex": "#6a39c7",
  "rgb": {
    "r": 106,
    "g": 57,
    "b": 199
  },
  "hsl": {
    "h": 260.704,
    "s": 55.906,
    "l": 50.196
  },
  "oklch": {
    "l": 0.48925,
    "c": 0.20591,
    "h": 293
  },
  "luminance": 0.10114
}

Semantic roles & 50–950 ramp

primary
#6A39C7
secondary
#B8CE8E
accent
#DF49AB
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6A39C7

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

Preview Lab → · Contrast checker → · Palette generator →

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