#6B1D96#6B1D96

#6B1D96 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.0% C 0.185 H 309.7°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#6B1D96
RGBrgb(107, 29, 150)
HSLhsl(279, 68%, 35%)
HSVhsv(279, 81%, 59%)
CMYKcmyk(28.7%, 80.7%, 0%, 41.2%)
CIE-LABlab(29.93, 52.91, -50.10)
CIE-LCHlch(29.93, 72.87, 316.56°)
OKLaboklab(41.99% 0.118 -0.1422)
OKLCHoklch(41.99% 0.185 309.7)
XYZxyz(12.0067, 6.2068, 29.4138)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1D96 #48961D
analogous
#2F1D96 #6B1D96 #961D84
triadic
#6B1D96 #966B1D #1D966B
tetradic
#6B1D96 #962F1D #48961D #1D8496
square
#6B1D96 #962F1D #48961D #1D8496
split-complementary
#6B1D96 #84961D #1D962F
monochromatic
#22092F #461363 #6B1D96 #9027C9 #AB50DD

Accessibility & contrast

On white

9.37
#6B1D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B1D96
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1D96#FFFFFF#000000##FFFFFF
##6B1D961.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004399
Deuteranopia (green-blind)
#004894
Tritanopia (blue-blind)
#653C5A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6b1d96;
/* rgb */ color: rgb(107, 29, 150);
/* oklch */ color: oklch(42.0% 0.185 309.7);
Tailwind
colors: {
  custom: {
    50: '#9a63b6',
    500: '#6b1d96',
    950: '#000000',
  },
}
SCSS
$custom: #6b1d96;
$custom-light: #9a63b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1d96",
  "rgb": {
    "r": 107,
    "g": 29,
    "b": 150
  },
  "hsl": {
    "h": 278.678,
    "s": 67.598,
    "l": 35.098
  },
  "oklch": {
    "l": 0.41992,
    "c": 0.18483,
    "h": 309.7
  },
  "luminance": 0.06207
}

Semantic roles & 50–950 ramp

primary
#6B1D96
secondary
#77C04F
accent
#EA3D7B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6B1D96

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

Preview Lab → · Contrast checker → · Palette generator →

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