#6B1E95#6B1E95

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

Color values

HEX#6B1E95
RGBrgb(107, 30, 149)
HSLhsl(279, 66%, 35%)
HSVhsv(279, 80%, 58%)
CMYKcmyk(28.2%, 79.9%, 0%, 41.6%)
CIE-LABlab(29.97, 52.34, -49.42)
CIE-LCHlch(29.97, 71.98, 316.64°)
OKLaboklab(42% 0.1174 -0.1402)
OKLCHoklch(42% 0.183 309.9)
XYZxyz(11.9514, 6.2245, 28.9998)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1E95 #48951E
analogous
#301E95 #6B1E95 #951E83
triadic
#6B1E95 #956B1E #1E956B
tetradic
#6B1E95 #95301E #48951E #1E8395
square
#6B1E95 #95301E #48951E #1E8395
split-complementary
#6B1E95 #83951E #1E9530
monochromatic
#22092F #461462 #6B1E95 #9028C8 #AB51DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B1E95#FFFFFF#000000##FFFFFF
##6B1E951.009.352.249.35
#FFFFFF9.351.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004398
Deuteranopia (green-blind)
#004893
Tritanopia (blue-blind)
#653C59
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6b1e95;
/* rgb */ color: rgb(107, 30, 149);
/* oklch */ color: oklch(42.0% 0.183 309.9);
Tailwind
colors: {
  custom: {
    50: '#9a64b5',
    500: '#6b1e95',
    950: '#000000',
  },
}
SCSS
$custom: #6b1e95;
$custom-light: #9a64b5;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1e95",
  "rgb": {
    "r": 107,
    "g": 30,
    "b": 149
  },
  "hsl": {
    "h": 278.824,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.41998,
    "c": 0.18291,
    "h": 309.9
  },
  "luminance": 0.06224
}

Semantic roles & 50–950 ramp

primary
#6B1E95
secondary
#77BF50
accent
#E93E7B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6B1E95

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

Preview Lab → · Contrast checker → · Palette generator →

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