#6E1B99#6E1B99

#6E1B99 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.5% C 0.190 H 310.3°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#6E1B99
RGBrgb(110, 27, 153)
HSLhsl(280, 70%, 35%)
HSVhsv(280, 82%, 60%)
CMYKcmyk(28.1%, 82.4%, 0%, 40%)
CIE-LABlab(30.40, 54.76, -51.16)
CIE-LCHlch(30.40, 74.94, 316.95°)
OKLaboklab(42.49% 0.1231 -0.1452)
OKLCHoklch(42.49% 0.19 310.3)
XYZxyz(12.5710, 6.3991, 30.7037)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1B99 #46991B
analogous
#2F1B99 #6E1B99 #991B85
triadic
#6E1B99 #996E1B #1B996E
tetradic
#6E1B99 #992F1B #46991B #1B8599
square
#6E1B99 #992F1B #46991B #1B8599
split-complementary
#6E1B99 #85991B #1B992F
monochromatic
#230931 #491265 #6E1B99 #9324CD #AE4FE0

Accessibility & contrast

On white

9.21
#6E1B99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#6E1B99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1B99
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1B99#FFFFFF#000000##FFFFFF
##6E1B991.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449C
Deuteranopia (green-blind)
#004997
Tritanopia (blue-blind)
#683C5B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6e1b99;
/* rgb */ color: rgb(110, 27, 153);
/* oklch */ color: oklch(42.5% 0.190 310.3);
Tailwind
colors: {
  custom: {
    50: '#9c63b8',
    500: '#6e1b99',
    950: '#000000',
  },
}
SCSS
$custom: #6e1b99;
$custom-light: #9c63b8;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1b99",
  "rgb": {
    "r": 110,
    "g": 27,
    "b": 153
  },
  "hsl": {
    "h": 279.524,
    "s": 70,
    "l": 35.294
  },
  "oklch": {
    "l": 0.42489,
    "c": 0.19033,
    "h": 310.3
  },
  "luminance": 0.06399
}

Semantic roles & 50–950 ramp

primary
#6E1B99
secondary
#75C24E
accent
#ED3B78
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6E1B99

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

Preview Lab → · Contrast checker → · Palette generator →

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