#6B15A0#6B15A0

#6B15A0 is a dark, highly saturated violet. Relative luminance 0.062; OKLCH L 42.2% C 0.201 H 307.0°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#6B15A0
RGBrgb(107, 21, 160)
HSLhsl(277, 77%, 35%)
HSVhsv(277, 87%, 63%)
CMYKcmyk(33.1%, 86.9%, 0%, 37.3%)
CIE-LABlab(29.91, 57.55, -56.23)
CIE-LCHlch(29.91, 80.46, 315.66°)
OKLaboklab(42.24% 0.1208 -0.1602)
OKLCHoklch(42.24% 0.201 307)
XYZxyz(12.6753, 6.2004, 33.7799)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B15A0 #4AA015
analogous
#2515A0 #6B15A0 #A01590
triadic
#6B15A0 #A06B15 #15A06B
tetradic
#6B15A0 #A02515 #4AA015 #1590A0
square
#6B15A0 #A02515 #4AA015 #1590A0
split-complementary
#6B15A0 #90A015 #15A025
monochromatic
#230734 #470E6A #6B15A0 #8F1CD6 #AB48E7

Accessibility & contrast

On white

9.38
#6B15A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#6B15A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B15A0
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B15A0#FFFFFF#000000##FFFFFF
##6B15A01.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b15a0;
/* rgb */ color: rgb(107, 21, 160);
/* oklch */ color: oklch(42.2% 0.201 307.0);
Tailwind
colors: {
  custom: {
    50: '#9b61bd',
    500: '#6b15a0',
    950: '#000000',
  },
}
SCSS
$custom: #6b15a0;
$custom-light: #9b61bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6b15a0",
  "rgb": {
    "r": 107,
    "g": 21,
    "b": 160
  },
  "hsl": {
    "h": 277.122,
    "s": 76.796,
    "l": 35.49
  },
  "oklch": {
    "l": 0.42239,
    "c": 0.20065,
    "h": 307
  },
  "luminance": 0.062
}

Semantic roles & 50–950 ramp

primary
#6B15A0
secondary
#79C849
accent
#F3347D
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6B15A0

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

Preview Lab → · Contrast checker → · Palette generator →

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