#6E1D97#6E1D97

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

Color values

HEX#6E1D97
RGBrgb(110, 29, 151)
HSLhsl(280, 68%, 35%)
HSVhsv(280, 81%, 59%)
CMYKcmyk(27.2%, 80.8%, 0%, 40.8%)
CIE-LABlab(30.47, 53.67, -49.82)
CIE-LCHlch(30.47, 73.22, 317.13°)
OKLaboklab(42.49% 0.122 -0.1413)
OKLCHoklch(42.49% 0.187 310.8)
XYZxyz(12.4546, 6.4284, 29.8569)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1D97 #46971D
analogous
#311D97 #6E1D97 #971D83
triadic
#6E1D97 #976E1D #1D976E
tetradic
#6E1D97 #97311D #46971D #1D8397
square
#6E1D97 #97311D #46971D #1D8397
split-complementary
#6E1D97 #83971D #1D9731
monochromatic
#230930 #491364 #6E1D97 #9327CA #AE51DE

Accessibility & contrast

On white

9.19
#6E1D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#6E1D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1D97
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1D97#FFFFFF#000000##FFFFFF
##6E1D971.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449A
Deuteranopia (green-blind)
#004995
Tritanopia (blue-blind)
#683C5A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6e1d97;
/* rgb */ color: rgb(110, 29, 151);
/* oklch */ color: oklch(42.5% 0.187 310.8);
Tailwind
colors: {
  custom: {
    50: '#9c64b6',
    500: '#6e1d97',
    950: '#000000',
  },
}
SCSS
$custom: #6e1d97;
$custom-light: #9c64b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1d97",
  "rgb": {
    "r": 110,
    "g": 29,
    "b": 151
  },
  "hsl": {
    "h": 279.836,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.42489,
    "c": 0.18665,
    "h": 310.8
  },
  "luminance": 0.06428
}

Semantic roles & 50–950 ramp

primary
#6E1D97
secondary
#75C04F
accent
#EB3D77
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6E1D97

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

Preview Lab → · Contrast checker → · Palette generator →

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