#6A1A95#6A1A95

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

Color values

HEX#6A1A95
RGBrgb(106, 26, 149)
HSLhsl(279, 70%, 34%)
HSVhsv(279, 83%, 58%)
CMYKcmyk(28.9%, 82.6%, 0%, 41.6%)
CIE-LABlab(29.34, 53.54, -50.44)
CIE-LCHlch(29.34, 73.56, 316.70°)
OKLaboklab(41.53% 0.1193 -0.1432)
OKLCHoklch(41.53% 0.186 309.8)
XYZxyz(11.7370, 5.9731, 28.9626)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1A95 #45951A
analogous
#2C1A95 #6A1A95 #951A83
triadic
#6A1A95 #956A1A #1A956A
tetradic
#6A1A95 #952C1A #45951A #1A8395
square
#6A1A95 #952C1A #45951A #1A8395
split-complementary
#6A1A95 #83951A #1A952C
monochromatic
#20082D #451161 #6A1A95 #8F23C9 #AB4ADF

Accessibility & contrast

On white

9.57
#6A1A95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#6A1A95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1A95
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1A95#FFFFFF#000000##FFFFFF
##6A1A951.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004298
Deuteranopia (green-blind)
#004693
Tritanopia (blue-blind)
#643A59
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6a1a95;
/* rgb */ color: rgb(106, 26, 149);
/* oklch */ color: oklch(41.5% 0.186 309.8);
Tailwind
colors: {
  custom: {
    50: '#9a62b5',
    500: '#6a1a95',
    950: '#000000',
  },
}
SCSS
$custom: #6a1a95;
$custom-light: #9a62b5;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1a95",
  "rgb": {
    "r": 106,
    "g": 26,
    "b": 149
  },
  "hsl": {
    "h": 279.024,
    "s": 70.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41528,
    "c": 0.1864,
    "h": 309.8
  },
  "luminance": 0.05973
}

Semantic roles & 50–950 ramp

primary
#6A1A95
secondary
#73C14A
accent
#ED3B79
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6A1A95

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

Preview Lab → · Contrast checker → · Palette generator →

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