#6A1EA9#6A1EA9

#6A1EA9 is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.5% C 0.202 H 303.2°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#6A1EA9
RGBrgb(106, 30, 169)
HSLhsl(273, 70%, 39%)
HSVhsv(273, 82%, 66%)
CMYKcmyk(37.3%, 82.2%, 0%, 33.7%)
CIE-LABlab(31.48, 56.66, -59.12)
CIE-LCHlch(31.48, 81.89, 313.78°)
OKLaboklab(43.53% 0.1106 -0.1688)
OKLCHoklch(43.53% 0.202 303.2)
XYZxyz(13.5679, 6.8573, 38.1372)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1EA9 #5DA91E
analogous
#251EA9 #6A1EA9 #A91EA3
triadic
#6A1EA9 #A96A1E #1EA96A
tetradic
#6A1EA9 #A9251E #5DA91E #1EA3A9
square
#6A1EA9 #A9251E #5DA91E #1EA3A9
split-complementary
#6A1EA9 #A3A91E #1EA925
monochromatic
#290C41 #491575 #6A1EA9 #8A2BD9 #A75FE3

Accessibility & contrast

On white

8.86
#6A1EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#6A1EA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1EA9
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1EA9#FFFFFF#000000##FFFFFF
##6A1EA91.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AD
Deuteranopia (green-blind)
#004AA6
Tritanopia (blue-blind)
#5D4565
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6a1ea9;
/* rgb */ color: rgb(106, 30, 169);
/* oklch */ color: oklch(43.5% 0.202 303.2);
Tailwind
colors: {
  custom: {
    50: '#9b65c4',
    500: '#6a1ea9',
    950: '#000000',
  },
}
SCSS
$custom: #6a1ea9;
$custom-light: #9b65c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1ea9",
  "rgb": {
    "r": 106,
    "g": 30,
    "b": 169
  },
  "hsl": {
    "h": 272.806,
    "s": 69.849,
    "l": 39.02
  },
  "oklch": {
    "l": 0.43533,
    "c": 0.20178,
    "h": 303.2
  },
  "luminance": 0.06857
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6A1EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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