#6E1D9C#6E1D9C

#6E1D9C is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.9% C 0.191 H 309.1°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#6E1D9C
RGBrgb(110, 29, 156)
HSLhsl(278, 69%, 36%)
HSVhsv(278, 81%, 61%)
CMYKcmyk(29.5%, 81.4%, 0%, 38.8%)
CIE-LABlab(30.86, 54.75, -52.23)
CIE-LCHlch(30.86, 75.66, 316.35°)
OKLaboklab(42.89% 0.1208 -0.1484)
OKLCHoklch(42.89% 0.191 309.1)
XYZxyz(12.8693, 6.5943, 32.0409)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1D9C #4B9C1D
analogous
#2F1D9C #6E1D9C #9C1D8B
triadic
#6E1D9C #9C6E1D #1D9C6E
tetradic
#6E1D9C #9C2F1D #4B9C1D #1D8B9C
square
#6E1D9C #9C2F1D #4B9C1D #1D8B9C
split-complementary
#6E1D9C #8B9C1D #1D9C2F
monochromatic
#250A35 #4A1368 #6E1D9C #9227D0 #AD54DF

Accessibility & contrast

On white

9.06
#6E1D9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#6E1D9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1D9C
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1D9C#FFFFFF#000000##FFFFFF
##6E1D9C1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469F
Deuteranopia (green-blind)
#004A99
Tritanopia (blue-blind)
#673E5D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6e1d9c;
/* rgb */ color: rgb(110, 29, 156);
/* oklch */ color: oklch(42.9% 0.191 309.1);
Tailwind
colors: {
  custom: {
    50: '#9d64ba',
    500: '#6e1d9c',
    950: '#000000',
  },
}
SCSS
$custom: #6e1d9c;
$custom-light: #9d64ba;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1d9c",
  "rgb": {
    "r": 110,
    "g": 29,
    "b": 156
  },
  "hsl": {
    "h": 278.268,
    "s": 68.649,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42891,
    "c": 0.1913,
    "h": 309.1
  },
  "luminance": 0.06594
}

Semantic roles & 50–950 ramp

primary
#6E1D9C
secondary
#7BC252
accent
#EB3C7C
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6E1D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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