#6A1E95#6A1E95

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

Color values

HEX#6A1E95
RGBrgb(106, 30, 149)
HSLhsl(278, 66%, 35%)
HSVhsv(278, 80%, 58%)
CMYKcmyk(28.9%, 79.9%, 0%, 41.6%)
CIE-LABlab(29.82, 52.16, -49.67)
CIE-LCHlch(29.82, 72.02, 316.40°)
OKLaboklab(41.86% 0.116 -0.141)
OKLCHoklch(41.86% 0.183 309.5)
XYZxyz(11.8319, 6.1629, 28.9942)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1E95 #49951E
analogous
#2E1E95 #6A1E95 #951E85
triadic
#6A1E95 #956A1E #1E956A
tetradic
#6A1E95 #952E1E #49951E #1E8595
square
#6A1E95 #952E1E #49951E #1E8595
split-complementary
#6A1E95 #85951E #1E952E
monochromatic
#22092F #461462 #6A1E95 #8E28C8 #AA51DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A1E95#FFFFFF#000000##FFFFFF
##6A1E951.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)
#004398
Deuteranopia (green-blind)
#004793
Tritanopia (blue-blind)
#643C59
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6a1e95;
/* rgb */ color: rgb(106, 30, 149);
/* oklch */ color: oklch(41.9% 0.183 309.5);
Tailwind
colors: {
  custom: {
    50: '#9964b5',
    500: '#6a1e95',
    950: '#000000',
  },
}
SCSS
$custom: #6a1e95;
$custom-light: #9964b5;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1e95",
  "rgb": {
    "r": 106,
    "g": 30,
    "b": 149
  },
  "hsl": {
    "h": 278.319,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.4186,
    "c": 0.18262,
    "h": 309.5
  },
  "luminance": 0.06163
}

Semantic roles & 50–950 ramp

primary
#6A1E95
secondary
#78BF50
accent
#E93E7C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6A1E95

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

Preview Lab → · Contrast checker → · Palette generator →

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