#6A1E91#6A1E91

#6A1E91 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.5% C 0.179 H 310.8°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#6A1E91
RGBrgb(106, 30, 145)
HSLhsl(280, 66%, 34%)
HSVhsv(280, 79%, 57%)
CMYKcmyk(26.9%, 79.3%, 0%, 43.1%)
CIE-LABlab(29.51, 51.28, -47.72)
CIE-LCHlch(29.51, 70.05, 317.06°)
OKLaboklab(41.54% 0.1169 -0.1353)
OKLCHoklch(41.54% 0.179 310.8)
XYZxyz(11.5180, 6.0373, 27.3411)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1E91 #45911E
analogous
#311E91 #6A1E91 #911E7F
triadic
#6A1E91 #916A1E #1E916A
tetradic
#6A1E91 #91311E #45911E #1E7F91
square
#6A1E91 #91311E #45911E #1E7F91
split-complementary
#6A1E91 #7F911E #1E9131
monochromatic
#20092C #45145E #6A1E91 #8F28C4 #AB4FDB

Accessibility & contrast

On white

9.51
#6A1E91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#6A1E91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1E91
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1E91#FFFFFF#000000##FFFFFF
##6A1E911.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004294
Deuteranopia (green-blind)
#00478F
Tritanopia (blue-blind)
#653A57
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6a1e91;
/* rgb */ color: rgb(106, 30, 145);
/* oklch */ color: oklch(41.5% 0.179 310.8);
Tailwind
colors: {
  custom: {
    50: '#9963b2',
    500: '#6a1e91',
    950: '#000000',
  },
}
SCSS
$custom: #6a1e91;
$custom-light: #9963b2;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1e91",
  "rgb": {
    "r": 106,
    "g": 30,
    "b": 145
  },
  "hsl": {
    "h": 279.652,
    "s": 65.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41542,
    "c": 0.17881,
    "h": 310.8
  },
  "luminance": 0.06037
}

Semantic roles & 50–950 ramp

primary
#6A1E91
secondary
#73BD4D
accent
#E93F79
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6A1E91

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

Preview Lab → · Contrast checker → · Palette generator →

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