#6C15A0#6C15A0

#6C15A0 is a dark, highly saturated violet. Relative luminance 0.063; OKLCH L 42.4% C 0.201 H 307.5°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#6C15A0
RGBrgb(108, 21, 160)
HSLhsl(278, 77%, 35%)
HSVhsv(278, 87%, 63%)
CMYKcmyk(32.5%, 86.9%, 0%, 37.3%)
CIE-LABlab(30.07, 57.70, -55.98)
CIE-LCHlch(30.07, 80.39, 315.87°)
OKLaboklab(42.38% 0.1223 -0.1594)
OKLCHoklch(42.38% 0.201 307.5)
XYZxyz(12.7963, 6.2627, 33.7856)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C15A0 #49A015
analogous
#2615A0 #6C15A0 #A0158E
triadic
#6C15A0 #A06C15 #15A06C
tetradic
#6C15A0 #A02615 #49A015 #158EA0
square
#6C15A0 #A02615 #49A015 #158EA0
split-complementary
#6C15A0 #8EA015 #15A026
monochromatic
#230734 #470E6A #6C15A0 #911CD6 #AC48E7

Accessibility & contrast

On white

9.32
#6C15A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#6C15A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C15A0
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C15A0#FFFFFF#000000##FFFFFF
##6C15A01.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A4
Deuteranopia (green-blind)
#00479D
Tritanopia (blue-blind)
#633D5E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6c15a0;
/* rgb */ color: rgb(108, 21, 160);
/* oklch */ color: oklch(42.4% 0.201 307.5);
Tailwind
colors: {
  custom: {
    50: '#9c61bd',
    500: '#6c15a0',
    950: '#000000',
  },
}
SCSS
$custom: #6c15a0;
$custom-light: #9c61bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6c15a0",
  "rgb": {
    "r": 108,
    "g": 21,
    "b": 160
  },
  "hsl": {
    "h": 277.554,
    "s": 76.796,
    "l": 35.49
  },
  "oklch": {
    "l": 0.42376,
    "c": 0.20089,
    "h": 307.5
  },
  "luminance": 0.06263
}

Semantic roles & 50–950 ramp

primary
#6C15A0
secondary
#78C849
accent
#F3347C
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6C15A0

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

Preview Lab → · Contrast checker → · Palette generator →

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