#6B1996#6B1996

#6B1996 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.7% C 0.188 H 310.0°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#6B1996
RGBrgb(107, 25, 150)
HSLhsl(279, 71%, 34%)
HSVhsv(279, 83%, 59%)
CMYKcmyk(28.7%, 83.3%, 0%, 41.2%)
CIE-LABlab(29.47, 54.24, -50.85)
CIE-LCHlch(29.47, 74.35, 316.85°)
OKLaboklab(41.67% 0.1211 -0.1444)
OKLCHoklch(41.67% 0.188 310)
XYZxyz(11.9150, 6.0233, 29.3832)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1996 #449619
analogous
#2D1996 #6B1996 #961983
triadic
#6B1996 #966B19 #19966B
tetradic
#6B1996 #962D19 #449619 #198396
square
#6B1996 #962D19 #449619 #198396
split-complementary
#6B1996 #839619 #19962D
monochromatic
#20082D #461062 #6B1996 #9022CA #AC49E1

Accessibility & contrast

On white

9.53
#6B1996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#6B1996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1996
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1996#FFFFFF#000000##FFFFFF
##6B19961.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004299
Deuteranopia (green-blind)
#004794
Tritanopia (blue-blind)
#653A59
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6b1996;
/* rgb */ color: rgb(107, 25, 150);
/* oklch */ color: oklch(41.7% 0.188 310.0);
Tailwind
colors: {
  custom: {
    50: '#9a62b6',
    500: '#6b1996',
    950: '#000000',
  },
}
SCSS
$custom: #6b1996;
$custom-light: #9a62b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1996",
  "rgb": {
    "r": 107,
    "g": 25,
    "b": 150
  },
  "hsl": {
    "h": 279.36,
    "s": 71.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41673,
    "c": 0.18848,
    "h": 310
  },
  "luminance": 0.06023
}

Semantic roles & 50–950 ramp

primary
#6B1996
secondary
#72C249
accent
#EE3A78
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6B1996

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

Preview Lab → · Contrast checker → · Palette generator →

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