#6A1EA7#6A1EA7

#6A1EA7 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.4% C 0.200 H 303.8°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#6A1EA7
RGBrgb(106, 30, 167)
HSLhsl(273, 70%, 39%)
HSVhsv(273, 82%, 65%)
CMYKcmyk(36.5%, 82%, 0%, 34.5%)
CIE-LABlab(31.31, 56.20, -58.20)
CIE-LCHlch(31.31, 80.90, 314.00°)
OKLaboklab(43.36% 0.1112 -0.1661)
OKLCHoklch(43.36% 0.2 303.8)
XYZxyz(13.3815, 6.7828, 37.1560)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1EA7 #5BA71E
analogous
#261EA7 #6A1EA7 #A71E9F
triadic
#6A1EA7 #A76A1E #1EA76A
tetradic
#6A1EA7 #A7261E #5BA71E #1E9FA7
square
#6A1EA7 #A7261E #5BA71E #1E9FA7
split-complementary
#6A1EA7 #9FA71E #1EA726
monochromatic
#280B3F #491573 #6A1EA7 #8B2AD9 #A75DE2

Accessibility & contrast

On white

8.91
#6A1EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#6A1EA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1EA7
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1EA7#FFFFFF#000000##FFFFFF
##6A1EA71.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AB
Deuteranopia (green-blind)
#0049A4
Tritanopia (blue-blind)
#5E4464
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6a1ea7;
/* rgb */ color: rgb(106, 30, 167);
/* oklch */ color: oklch(43.4% 0.200 303.8);
Tailwind
colors: {
  custom: {
    50: '#9b65c2',
    500: '#6a1ea7',
    950: '#000000',
  },
}
SCSS
$custom: #6a1ea7;
$custom-light: #9b65c2;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1ea7",
  "rgb": {
    "r": 106,
    "g": 30,
    "b": 167
  },
  "hsl": {
    "h": 273.285,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4336,
    "c": 0.19986,
    "h": 303.8
  },
  "luminance": 0.06783
}

Semantic roles & 50–950 ramp

primary
#6A1EA7
secondary
#8BC65B
accent
#EC3B8A
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6A1EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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