#6B1E93#6B1E93

#6B1E93 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.8% C 0.181 H 310.6°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#6B1E93
RGBrgb(107, 30, 147)
HSLhsl(279, 66%, 35%)
HSVhsv(279, 80%, 58%)
CMYKcmyk(27.2%, 79.6%, 0%, 42.4%)
CIE-LABlab(29.82, 51.90, -48.44)
CIE-LCHlch(29.82, 71.00, 316.98°)
OKLaboklab(41.84% 0.1179 -0.1374)
OKLCHoklch(41.84% 0.181 310.6)
XYZxyz(11.7931, 6.1612, 28.1661)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1E93 #46931E
analogous
#301E93 #6B1E93 #931E81
triadic
#6B1E93 #936B1E #1E936B
tetradic
#6B1E93 #93301E #46931E #1E8193
square
#6B1E93 #93301E #46931E #1E8193
split-complementary
#6B1E93 #81931E #1E9330
monochromatic
#21092D #461460 #6B1E93 #9028C6 #AC50DB

Accessibility & contrast

On white

9.41
#6B1E93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B1E93
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1E93#FFFFFF#000000##FFFFFF
##6B1E931.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004396
Deuteranopia (green-blind)
#004791
Tritanopia (blue-blind)
#653B58
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6b1e93;
/* rgb */ color: rgb(107, 30, 147);
/* oklch */ color: oklch(41.8% 0.181 310.6);
Tailwind
colors: {
  custom: {
    50: '#9a64b3',
    500: '#6b1e93',
    950: '#000000',
  },
}
SCSS
$custom: #6b1e93;
$custom-light: #9a64b3;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1e93",
  "rgb": {
    "r": 107,
    "g": 30,
    "b": 147
  },
  "hsl": {
    "h": 279.487,
    "s": 66.102,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41839,
    "c": 0.18101,
    "h": 310.6
  },
  "luminance": 0.06161
}

Semantic roles & 50–950 ramp

primary
#6B1E93
secondary
#75BE4F
accent
#E93F79
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6B1E93

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

Preview Lab → · Contrast checker → · Palette generator →

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