#6A1EA0#6A1EA0

#6A1EA0 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.8% C 0.193 H 305.9°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#6A1EA0
RGBrgb(106, 30, 160)
HSLhsl(275, 68%, 37%)
HSVhsv(275, 81%, 63%)
CMYKcmyk(33.7%, 81.3%, 0%, 37.3%)
CIE-LABlab(30.71, 54.61, -54.93)
CIE-LCHlch(30.71, 77.46, 314.83°)
OKLaboklab(42.76% 0.1132 -0.1565)
OKLCHoklch(42.76% 0.193 305.9)
XYZxyz(12.7519, 6.5309, 33.8397)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1EA0 #54A01E
analogous
#291EA0 #6A1EA0 #A01E95
triadic
#6A1EA0 #A06A1E #1EA06A
tetradic
#6A1EA0 #A0291E #54A01E #1E95A0
square
#6A1EA0 #A0291E #54A01E #1E95A0
split-complementary
#6A1EA0 #95A01E #1EA029
monochromatic
#260B39 #48146C #6A1EA0 #8C28D4 #A859E0

Accessibility & contrast

On white

9.11
#6A1EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A1EA0
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1EA0#FFFFFF#000000##FFFFFF
##6A1EA01.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a1ea0;
/* rgb */ color: rgb(106, 30, 160);
/* oklch */ color: oklch(42.8% 0.193 305.9);
Tailwind
colors: {
  custom: {
    50: '#9a64bd',
    500: '#6a1ea0',
    950: '#000000',
  },
}
SCSS
$custom: #6a1ea0;
$custom-light: #9a64bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1ea0",
  "rgb": {
    "r": 106,
    "g": 30,
    "b": 160
  },
  "hsl": {
    "h": 275.077,
    "s": 68.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.42764,
    "c": 0.19315,
    "h": 305.9
  },
  "luminance": 0.06531
}

Semantic roles & 50–950 ramp

primary
#6A1EA0
secondary
#84C456
accent
#EB3D85
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6A1EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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