#6A1EA1#6A1EA1

#6A1EA1 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.8% C 0.194 H 305.6°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#6A1EA1
RGBrgb(106, 30, 161)
HSLhsl(275, 69%, 37%)
HSVhsv(275, 81%, 63%)
CMYKcmyk(34.2%, 81.4%, 0%, 36.9%)
CIE-LABlab(30.80, 54.84, -55.40)
CIE-LCHlch(30.80, 77.95, 314.71°)
OKLaboklab(42.85% 0.113 -0.1578)
OKLCHoklch(42.85% 0.194 305.6)
XYZxyz(12.8397, 6.5660, 34.3023)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1EA1 #55A11E
analogous
#281EA1 #6A1EA1 #A11E97
triadic
#6A1EA1 #A16A1E #1EA16A
tetradic
#6A1EA1 #A1281E #55A11E #1E97A1
square
#6A1EA1 #A1281E #55A11E #1E97A1
split-complementary
#6A1EA1 #97A11E #1EA128
monochromatic
#260B3A #48146D #6A1EA1 #8C28D5 #A859E0

Accessibility & contrast

On white

9.08
#6A1EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#6A1EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1EA1
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1EA1#FFFFFF#000000##FFFFFF
##6A1EA11.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A5
Deuteranopia (green-blind)
#00499E
Tritanopia (blue-blind)
#604160
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6a1ea1;
/* rgb */ color: rgb(106, 30, 161);
/* oklch */ color: oklch(42.8% 0.194 305.6);
Tailwind
colors: {
  custom: {
    50: '#9a64be',
    500: '#6a1ea1',
    950: '#000000',
  },
}
SCSS
$custom: #6a1ea1;
$custom-light: #9a64be;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1ea1",
  "rgb": {
    "r": 106,
    "g": 30,
    "b": 161
  },
  "hsl": {
    "h": 274.809,
    "s": 68.586,
    "l": 37.451
  },
  "oklch": {
    "l": 0.42848,
    "c": 0.1941,
    "h": 305.6
  },
  "luminance": 0.06566
}

Semantic roles & 50–950 ramp

primary
#6A1EA1
secondary
#85C457
accent
#EB3C86
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6A1EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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