#6A39DC#6A39DC

#6A39DC is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.7% C 0.229 H 289.3°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#6A39DC
RGBrgb(106, 57, 220)
HSLhsl(258, 70%, 54%)
HSVhsv(258, 74%, 86%)
CMYKcmyk(51.8%, 74.1%, 0%, 13.7%)
CIE-LABlab(39.84, 58.28, -75.32)
CIE-LCHlch(39.84, 95.23, 307.73°)
OKLaboklab(50.75% 0.0756 -0.2165)
OKLCHoklch(50.75% 0.229 289.3)
XYZxyz(20.3215, 11.1568, 68.7790)
Luminance0.1116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A39DC #ABDC39
analogous
#395ADC #6A39DC #BC39DC
triadic
#6A39DC #DC6A39 #39DC6A
tetradic
#6A39DC #DC395A #ABDC39 #39DCBC
square
#6A39DC #DC395A #ABDC39 #39DCBC
split-complementary
#6A39DC #DCBC39 #5ADC39
monochromatic
#381783 #4E20B7 #6A39DC #916DE5 #B8A1EE

Accessibility & contrast

On white

6.50
#6A39DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#6A39DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A39DC
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A39DC#FFFFFF#000000##FFFFFF
##6A39DC1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061E1
Deuteranopia (green-blind)
#005AD9
Tritanopia (blue-blind)
#3F6688
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6a39dc;
/* rgb */ color: rgb(106, 57, 220);
/* oklch */ color: oklch(50.7% 0.229 289.3);
Tailwind
colors: {
  custom: {
    50: '#9f74e8',
    500: '#6a39dc',
    950: '#000000',
  },
}
SCSS
$custom: #6a39dc;
$custom-light: #9f74e8;
$custom-dark: #000000;
JSON
{
  "hex": "#6a39dc",
  "rgb": {
    "r": 106,
    "g": 57,
    "b": 220
  },
  "hsl": {
    "h": 258.037,
    "s": 69.957,
    "l": 54.314
  },
  "oklch": {
    "l": 0.50748,
    "c": 0.22933,
    "h": 289.3
  },
  "luminance": 0.11158
}

Semantic roles & 50–950 ramp

primary
#6A39DC
secondary
#C6DB96
accent
#ED3BB7
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #6A39DC

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

Preview Lab → · Contrast checker → · Palette generator →

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