#6B1E96#6B1E96

#6B1E96 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.1% C 0.184 H 309.6°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#6B1E96
RGBrgb(107, 30, 150)
HSLhsl(279, 67%, 35%)
HSVhsv(279, 80%, 59%)
CMYKcmyk(28.7%, 80%, 0%, 41.2%)
CIE-LABlab(30.05, 52.56, -49.90)
CIE-LCHlch(30.05, 72.47, 316.48°)
OKLaboklab(42.08% 0.1172 -0.1416)
OKLCHoklch(42.08% 0.184 309.6)
XYZxyz(12.0316, 6.2566, 29.4221)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1E96 #49961E
analogous
#2F1E96 #6B1E96 #961E85
triadic
#6B1E96 #966B1E #1E966B
tetradic
#6B1E96 #962F1E #49961E #1E8596
square
#6B1E96 #962F1E #49961E #1E8596
split-complementary
#6B1E96 #85961E #1E962F
monochromatic
#220A30 #471463 #6B1E96 #8F28C9 #AB52DC

Accessibility & contrast

On white

9.33
#6B1E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B1E96
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1E96#FFFFFF#000000##FFFFFF
##6B1E961.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b1e96;
/* rgb */ color: rgb(107, 30, 150);
/* oklch */ color: oklch(42.1% 0.184 309.6);
Tailwind
colors: {
  custom: {
    50: '#9a64b6',
    500: '#6b1e96',
    950: '#000000',
  },
}
SCSS
$custom: #6b1e96;
$custom-light: #9a64b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1e96",
  "rgb": {
    "r": 107,
    "g": 30,
    "b": 150
  },
  "hsl": {
    "h": 278.5,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.42078,
    "c": 0.18386,
    "h": 309.6
  },
  "luminance": 0.06256
}

Semantic roles & 50–950 ramp

primary
#6B1E96
secondary
#78BF50
accent
#EA3E7C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6B1E96

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

Preview Lab → · Contrast checker → · Palette generator →

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