#6A1EAA#6A1EAA

#6A1EAA is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.6% C 0.203 H 303.0°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#6A1EAA
RGBrgb(106, 30, 170)
HSLhsl(273, 70%, 39%)
HSVhsv(273, 82%, 67%)
CMYKcmyk(37.6%, 82.4%, 0%, 33.3%)
CIE-LABlab(31.57, 56.89, -59.58)
CIE-LCHlch(31.57, 82.38, 313.68°)
OKLaboklab(43.62% 0.1103 -0.1701)
OKLCHoklch(43.62% 0.203 303)
XYZxyz(13.6621, 6.8950, 38.6335)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1EAA #5EAA1E
analogous
#241EAA #6A1EAA #AA1EA4
triadic
#6A1EAA #AA6A1E #1EAA6A
tetradic
#6A1EAA #AA241E #5EAA1E #1EA4AA
square
#6A1EAA #AA241E #5EAA1E #1EA4AA
split-complementary
#6A1EAA #A4AA1E #1EAA24
monochromatic
#290C42 #4A1576 #6A1EAA #8A2CDA #A760E3

Accessibility & contrast

On white

8.83
#6A1EAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#6A1EAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1EAA
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1EAA#FFFFFF#000000##FFFFFF
##6A1EAA1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AE
Deuteranopia (green-blind)
#004AA7
Tritanopia (blue-blind)
#5C4566
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6a1eaa;
/* rgb */ color: rgb(106, 30, 170);
/* oklch */ color: oklch(43.6% 0.203 303.0);
Tailwind
colors: {
  custom: {
    50: '#9b65c4',
    500: '#6a1eaa',
    950: '#000000',
  },
}
SCSS
$custom: #6a1eaa;
$custom-light: #9b65c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1eaa",
  "rgb": {
    "r": 106,
    "g": 30,
    "b": 170
  },
  "hsl": {
    "h": 272.571,
    "s": 70,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4362,
    "c": 0.20273,
    "h": 303
  },
  "luminance": 0.06895
}

Semantic roles & 50–950 ramp

primary
#6A1EAA
secondary
#8DC75C
accent
#ED3B8C
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6A1EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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