#6A39CA#6A39CA

#6A39CA is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.2% C 0.209 H 292.4°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#6A39CA
RGBrgb(106, 57, 202)
HSLhsl(260, 58%, 51%)
HSVhsv(260, 72%, 79%)
CMYKcmyk(47.5%, 71.8%, 0%, 20.8%)
CIE-LABlab(38.29, 53.45, -67.48)
CIE-LCHlch(38.29, 86.08, 308.38°)
OKLaboklab(49.18% 0.0798 -0.1935)
OKLCHoklch(49.18% 0.209 292.4)
XYZxyz(18.0647, 10.2541, 56.8931)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A39CA #99CA39
analogous
#3950CA #6A39CA #B239CA
triadic
#6A39CA #CA6A39 #39CA6A
tetradic
#6A39CA #CA3950 #99CA39 #39CAB2
square
#6A39CA #CA3950 #99CA39 #39CAB2
split-complementary
#6A39CA #CAB239 #50CA39
monochromatic
#381D6C #502A9C #6A39CA #8E69D7 #B39AE4

Accessibility & contrast

On white

6.88
#6A39CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#6A39CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A39CA
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A39CA#FFFFFF#000000##FFFFFF
##6A39CA1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCE
Deuteranopia (green-blind)
#0057C7
Tritanopia (blue-blind)
#4C5F7E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6a39ca;
/* rgb */ color: rgb(106, 57, 202);
/* oklch */ color: oklch(49.2% 0.209 292.4);
Tailwind
colors: {
  custom: {
    50: '#9d74db',
    500: '#6a39ca',
    950: '#000000',
  },
}
SCSS
$custom: #6a39ca;
$custom-light: #9d74db;
$custom-dark: #000000;
JSON
{
  "hex": "#6a39ca",
  "rgb": {
    "r": 106,
    "g": 57,
    "b": 202
  },
  "hsl": {
    "h": 260.276,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.49179,
    "c": 0.20929,
    "h": 292.4
  },
  "luminance": 0.10255
}

Semantic roles & 50–950 ramp

primary
#6A39CA
secondary
#BAD08F
accent
#E147AD
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6A39CA

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

Preview Lab → · Contrast checker → · Palette generator →

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