#6A1EB0#6A1EB0

#6A1EB0 is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 44.1% C 0.209 H 301.3°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#6A1EB0
RGBrgb(106, 30, 176)
HSLhsl(271, 71%, 40%)
HSVhsv(271, 83%, 69%)
CMYKcmyk(39.8%, 83%, 0%, 31%)
CIE-LABlab(32.09, 58.27, -62.31)
CIE-LCHlch(32.09, 85.31, 313.08°)
OKLaboklab(44.15% 0.1084 -0.1781)
OKLCHoklch(44.15% 0.209 301.3)
XYZxyz(14.2427, 7.1272, 41.6912)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1EB0 #64B01E
analogous
#211EB0 #6A1EB0 #B01EAD
triadic
#6A1EB0 #B06A1E #1EB06A
tetradic
#6A1EB0 #B0211E #64B01E #1EADB0
square
#6A1EB0 #B0211E #64B01E #1EADB0
split-complementary
#6A1EB0 #ADB01E #1EB021
monochromatic
#2B0C47 #4B157C #6A1EB0 #8930DC #A764E5

Accessibility & contrast

On white

8.66
#6A1EB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#6A1EB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1EB0
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1EB0#FFFFFF#000000##FFFFFF
##6A1EB01.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB4
Deuteranopia (green-blind)
#004BAD
Tritanopia (blue-blind)
#5A4869
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6a1eb0;
/* rgb */ color: rgb(106, 30, 176);
/* oklch */ color: oklch(44.1% 0.209 301.3);
Tailwind
colors: {
  custom: {
    50: '#9c65c9',
    500: '#6a1eb0',
    950: '#000000',
  },
}
SCSS
$custom: #6a1eb0;
$custom-light: #9c65c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1eb0",
  "rgb": {
    "r": 106,
    "g": 30,
    "b": 176
  },
  "hsl": {
    "h": 271.233,
    "s": 70.874,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44148,
    "c": 0.20851,
    "h": 301.3
  },
  "luminance": 0.07127
}

Semantic roles & 50–950 ramp

primary
#6A1EB0
secondary
#93CA60
accent
#EE3A90
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6A1EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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