#6A15A0#6A15A0

#6A15A0 is a dark, highly saturated violet. Relative luminance 0.061; OKLCH L 42.1% C 0.200 H 306.6°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#6A15A0
RGBrgb(106, 21, 160)
HSLhsl(277, 77%, 35%)
HSVhsv(277, 87%, 63%)
CMYKcmyk(33.7%, 86.9%, 0%, 37.3%)
CIE-LABlab(29.76, 57.41, -56.49)
CIE-LCHlch(29.76, 80.54, 315.46°)
OKLaboklab(42.1% 0.1194 -0.161)
OKLCHoklch(42.1% 0.2 306.6)
XYZxyz(12.5558, 6.1387, 33.7743)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A15A0 #4BA015
analogous
#2515A0 #6A15A0 #A01590
triadic
#6A15A0 #A06A15 #15A06A
tetradic
#6A15A0 #A02515 #4BA015 #1590A0
square
#6A15A0 #A02515 #4BA015 #1590A0
split-complementary
#6A15A0 #90A015 #15A025
monochromatic
#220734 #460E6A #6A15A0 #8E1CD6 #A948E7

Accessibility & contrast

On white

9.43
#6A15A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#6A15A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A15A0
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A15A0#FFFFFF#000000##FFFFFF
##6A15A01.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A4
Deuteranopia (green-blind)
#00469D
Tritanopia (blue-blind)
#603E5E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6a15a0;
/* rgb */ color: rgb(106, 21, 160);
/* oklch */ color: oklch(42.1% 0.200 306.6);
Tailwind
colors: {
  custom: {
    50: '#9b61bd',
    500: '#6a15a0',
    950: '#000000',
  },
}
SCSS
$custom: #6a15a0;
$custom-light: #9b61bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6a15a0",
  "rgb": {
    "r": 106,
    "g": 21,
    "b": 160
  },
  "hsl": {
    "h": 276.691,
    "s": 76.796,
    "l": 35.49
  },
  "oklch": {
    "l": 0.42102,
    "c": 0.20042,
    "h": 306.6
  },
  "luminance": 0.06139
}

Semantic roles & 50–950 ramp

primary
#6A15A0
secondary
#7AC849
accent
#F3347F
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6A15A0

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

Preview Lab → · Contrast checker → · Palette generator →

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