#6B15A1#6B15A1

#6B15A1 is a dark, highly saturated violet. Relative luminance 0.062; OKLCH L 42.3% C 0.202 H 306.7°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#6B15A1
RGBrgb(107, 21, 161)
HSLhsl(277, 77%, 36%)
HSVhsv(277, 87%, 63%)
CMYKcmyk(33.5%, 87%, 0%, 36.9%)
CIE-LABlab(30.00, 57.77, -56.70)
CIE-LCHlch(30.00, 80.95, 315.54°)
OKLaboklab(42.33% 0.1205 -0.1616)
OKLCHoklch(42.33% 0.202 306.7)
XYZxyz(12.7632, 6.2355, 34.2425)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B15A1 #4BA115
analogous
#2515A1 #6B15A1 #A11591
triadic
#6B15A1 #A16B15 #15A16B
tetradic
#6B15A1 #A12515 #4BA115 #1591A1
square
#6B15A1 #A12515 #4BA115 #1591A1
split-complementary
#6B15A1 #91A115 #15A125
monochromatic
#230735 #470E6B #6B15A1 #8F1CD7 #AA49E7

Accessibility & contrast

On white

9.35
#6B15A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B15A1
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B15A1#FFFFFF#000000##FFFFFF
##6B15A11.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b15a1;
/* rgb */ color: rgb(107, 21, 161);
/* oklch */ color: oklch(42.3% 0.202 306.7);
Tailwind
colors: {
  custom: {
    50: '#9b61be',
    500: '#6b15a1',
    950: '#000000',
  },
}
SCSS
$custom: #6b15a1;
$custom-light: #9b61be;
$custom-dark: #000000;
JSON
{
  "hex": "#6b15a1",
  "rgb": {
    "r": 107,
    "g": 21,
    "b": 161
  },
  "hsl": {
    "h": 276.857,
    "s": 76.923,
    "l": 35.686
  },
  "oklch": {
    "l": 0.42325,
    "c": 0.20155,
    "h": 306.7
  },
  "luminance": 0.06235
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6B15A1

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

Preview Lab → · Contrast checker → · Palette generator →

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