#6E1D98#6E1D98

#6E1D98 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.6% C 0.188 H 310.5°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#6E1D98
RGBrgb(110, 29, 152)
HSLhsl(280, 68%, 35%)
HSVhsv(280, 81%, 60%)
CMYKcmyk(27.6%, 80.9%, 0%, 40.4%)
CIE-LABlab(30.55, 53.88, -50.30)
CIE-LCHlch(30.55, 73.71, 316.97°)
OKLaboklab(42.57% 0.1217 -0.1427)
OKLCHoklch(42.57% 0.188 310.5)
XYZxyz(12.5362, 6.4610, 30.2864)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1D98 #47981D
analogous
#301D98 #6E1D98 #981D84
triadic
#6E1D98 #986E1D #1D986E
tetradic
#6E1D98 #98301D #47981D #1D8498
square
#6E1D98 #98301D #47981D #1D8498
split-complementary
#6E1D98 #84981D #1D9830
monochromatic
#240931 #491365 #6E1D98 #9327CB #AE52DE

Accessibility & contrast

On white

9.16
#6E1D98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E1D98
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1D98#FFFFFF#000000##FFFFFF
##6E1D981.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459B
Deuteranopia (green-blind)
#004996
Tritanopia (blue-blind)
#683C5B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6e1d98;
/* rgb */ color: rgb(110, 29, 152);
/* oklch */ color: oklch(42.6% 0.188 310.5);
Tailwind
colors: {
  custom: {
    50: '#9c64b7',
    500: '#6e1d98',
    950: '#000000',
  },
}
SCSS
$custom: #6e1d98;
$custom-light: #9c64b7;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1d98",
  "rgb": {
    "r": 110,
    "g": 29,
    "b": 152
  },
  "hsl": {
    "h": 279.512,
    "s": 67.956,
    "l": 35.49
  },
  "oklch": {
    "l": 0.42569,
    "c": 0.18757,
    "h": 310.5
  },
  "luminance": 0.06461
}

Semantic roles & 50–950 ramp

primary
#6E1D98
secondary
#77C150
accent
#EB3D78
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6E1D98

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

Preview Lab → · Contrast checker → · Palette generator →

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