#6A15A1#6A15A1

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

Color values

HEX#6A15A1
RGBrgb(106, 21, 161)
HSLhsl(276, 77%, 36%)
HSVhsv(276, 87%, 63%)
CMYKcmyk(34.2%, 87%, 0%, 36.9%)
CIE-LABlab(29.85, 57.62, -56.95)
CIE-LCHlch(29.85, 81.02, 315.33°)
OKLaboklab(42.19% 0.1191 -0.1623)
OKLCHoklch(42.19% 0.201 306.3)
XYZxyz(12.6436, 6.1738, 34.2369)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A15A1 #4CA115
analogous
#2415A1 #6A15A1 #A11592
triadic
#6A15A1 #A16A15 #15A16A
tetradic
#6A15A1 #A12415 #4CA115 #1592A1
square
#6A15A1 #A12415 #4CA115 #1592A1
split-complementary
#6A15A1 #92A115 #15A124
monochromatic
#230735 #460E6B #6A15A1 #8E1CD7 #A949E7

Accessibility & contrast

On white

9.40
#6A15A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A15A1
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A15A1#FFFFFF#000000##FFFFFF
##6A15A11.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A5
Deuteranopia (green-blind)
#00479E
Tritanopia (blue-blind)
#603E5F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6a15a1;
/* rgb */ color: rgb(106, 21, 161);
/* oklch */ color: oklch(42.2% 0.201 306.3);
Tailwind
colors: {
  custom: {
    50: '#9b61be',
    500: '#6a15a1',
    950: '#000000',
  },
}
SCSS
$custom: #6a15a1;
$custom-light: #9b61be;
$custom-dark: #000000;
JSON
{
  "hex": "#6a15a1",
  "rgb": {
    "r": 106,
    "g": 21,
    "b": 161
  },
  "hsl": {
    "h": 276.429,
    "s": 76.923,
    "l": 35.686
  },
  "oklch": {
    "l": 0.42189,
    "c": 0.20132,
    "h": 306.3
  },
  "luminance": 0.06174
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6A15A1

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

Preview Lab → · Contrast checker → · Palette generator →

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