#6A39CD#6A39CD

#6A39CD is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.4% C 0.213 H 291.8°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#6A39CD
RGBrgb(106, 57, 205)
HSLhsl(260, 60%, 51%)
HSVhsv(260, 72%, 80%)
CMYKcmyk(48.3%, 72.2%, 0%, 19.6%)
CIE-LABlab(38.55, 54.25, -68.81)
CIE-LCHlch(38.55, 87.62, 308.25°)
OKLaboklab(49.44% 0.0791 -0.1974)
OKLCHoklch(49.44% 0.213 291.8)
XYZxyz(18.4233, 10.3975, 58.7820)
Luminance0.1040 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A39CD #9CCD39
analogous
#3952CD #6A39CD #B439CD
triadic
#6A39CD #CD6A39 #39CD6A
tetradic
#6A39CD #CD3952 #9CCD39 #39CDB4
square
#6A39CD #CD3952 #9CCD39 #39CDB4
split-complementary
#6A39CD #CDB439 #52CD39
monochromatic
#381C6F #5028A0 #6A39CD #8F6AD9 #B49BE6

Accessibility & contrast

On white

6.82
#6A39CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#6A39CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A39CD
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A39CD#FFFFFF#000000##FFFFFF
##6A39CD1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD1
Deuteranopia (green-blind)
#0058CA
Tritanopia (blue-blind)
#4A6080
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6a39cd;
/* rgb */ color: rgb(106, 57, 205);
/* oklch */ color: oklch(49.4% 0.213 291.8);
Tailwind
colors: {
  custom: {
    50: '#9d74dd',
    500: '#6a39cd',
    950: '#000000',
  },
}
SCSS
$custom: #6a39cd;
$custom-light: #9d74dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6a39cd",
  "rgb": {
    "r": 106,
    "g": 57,
    "b": 205
  },
  "hsl": {
    "h": 259.865,
    "s": 59.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.49436,
    "c": 0.21266,
    "h": 291.8
  },
  "luminance": 0.10398
}

Semantic roles & 50–950 ramp

primary
#6A39CD
secondary
#BCD290
accent
#E345AF
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6A39CD

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

Preview Lab → · Contrast checker → · Palette generator →

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