#6A1E96#6A1E96

#6A1E96 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.9% C 0.184 H 309.1°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#6A1E96
RGBrgb(106, 30, 150)
HSLhsl(278, 67%, 35%)
HSVhsv(278, 80%, 59%)
CMYKcmyk(29.3%, 80%, 0%, 41.2%)
CIE-LABlab(29.90, 52.38, -50.16)
CIE-LCHlch(29.90, 72.52, 316.24°)
OKLaboklab(41.94% 0.1158 -0.1424)
OKLCHoklch(41.94% 0.184 309.1)
XYZxyz(11.9120, 6.1950, 29.4165)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1E96 #4A961E
analogous
#2E1E96 #6A1E96 #961E86
triadic
#6A1E96 #966A1E #1E966A
tetradic
#6A1E96 #962E1E #4A961E #1E8696
square
#6A1E96 #962E1E #4A961E #1E8696
split-complementary
#6A1E96 #86961E #1E962E
monochromatic
#220A30 #461463 #6A1E96 #8E28C9 #AA52DC

Accessibility & contrast

On white

9.38
#6A1E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A1E96
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1E96#FFFFFF#000000##FFFFFF
##6A1E961.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004499
Deuteranopia (green-blind)
#004794
Tritanopia (blue-blind)
#633C5A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6a1e96;
/* rgb */ color: rgb(106, 30, 150);
/* oklch */ color: oklch(41.9% 0.184 309.1);
Tailwind
colors: {
  custom: {
    50: '#9964b6',
    500: '#6a1e96',
    950: '#000000',
  },
}
SCSS
$custom: #6a1e96;
$custom-light: #9964b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1e96",
  "rgb": {
    "r": 106,
    "g": 30,
    "b": 150
  },
  "hsl": {
    "h": 278,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.4194,
    "c": 0.18357,
    "h": 309.1
  },
  "luminance": 0.06195
}

Semantic roles & 50–950 ramp

primary
#6A1E96
secondary
#79BF50
accent
#EA3E7D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6A1E96

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

Preview Lab → · Contrast checker → · Palette generator →

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