#6E1FAB#6E1FAB

#6E1FAB is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 44.3% C 0.204 H 304.4°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#6E1FAB
RGBrgb(110, 31, 171)
HSLhsl(274, 69%, 40%)
HSVhsv(274, 82%, 67%)
CMYKcmyk(35.7%, 81.9%, 0%, 32.9%)
CIE-LABlab(32.34, 57.39, -58.90)
CIE-LCHlch(32.34, 82.24, 314.26°)
OKLaboklab(44.3% 0.1151 -0.168)
OKLCHoklch(44.3% 0.204 304.4)
XYZxyz(14.2694, 7.2353, 39.1650)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1FAB #5CAB1F
analogous
#281FAB #6E1FAB #AB1FA2
triadic
#6E1FAB #AB6E1F #1FAB6E
tetradic
#6E1FAB #AB281F #5CAB1F #1FA2AB
square
#6E1FAB #AB281F #5CAB1F #1FA2AB
split-complementary
#6E1FAB #A2AB1F #1FAB28
monochromatic
#2B0C43 #4D1677 #6E1FAB #8F2ED9 #AA62E3

Accessibility & contrast

On white

8.58
#6E1FAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#6E1FAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1FAB
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1FAB#FFFFFF#000000##FFFFFF
##6E1FAB1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAF
Deuteranopia (green-blind)
#004CA8
Tritanopia (blue-blind)
#624666
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6e1fab;
/* rgb */ color: rgb(110, 31, 171);
/* oklch */ color: oklch(44.3% 0.204 304.4);
Tailwind
colors: {
  custom: {
    50: '#9e66c5',
    500: '#6e1fab',
    950: '#000000',
  },
}
SCSS
$custom: #6e1fab;
$custom-light: #9e66c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1fab",
  "rgb": {
    "r": 110,
    "g": 31,
    "b": 171
  },
  "hsl": {
    "h": 273.857,
    "s": 69.307,
    "l": 39.608
  },
  "oklch": {
    "l": 0.443,
    "c": 0.20364,
    "h": 304.4
  },
  "luminance": 0.07235
}

Semantic roles & 50–950 ramp

primary
#6E1FAB
secondary
#8CC75E
accent
#EC3C89
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6E1FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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