#6E2D99#6E2D99

#6E2D99 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.3% C 0.171 H 308.5°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#6E2D99
RGBrgb(110, 45, 153)
HSLhsl(276, 55%, 39%)
HSVhsv(276, 71%, 60%)
CMYKcmyk(28.1%, 70.6%, 0%, 40%)
CIE-LABlab(32.90, 47.61, -47.10)
CIE-LCHlch(32.90, 66.97, 315.31°)
OKLaboklab(44.26% 0.1062 -0.1334)
OKLCHoklch(44.26% 0.171 308.5)
XYZxyz(13.1174, 7.4919, 30.8859)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2D99 #58992D
analogous
#382D99 #6E2D99 #992D8E
triadic
#6E2D99 #996E2D #2D996E
tetradic
#6E2D99 #99382D #58992D #2D8E99
square
#6E2D99 #99382D #58992D #2D8E99
split-complementary
#6E2D99 #8E992D #2D9938
monochromatic
#2A113A #4C1F6A #6E2D99 #903DC6 #AB6CD4

Accessibility & contrast

On white

8.41
#6E2D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#6E2D99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2D99
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2D99#FFFFFF#000000##FFFFFF
##6E2D991.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9C
Deuteranopia (green-blind)
#144E97
Tritanopia (blue-blind)
#67455F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6e2d99;
/* rgb */ color: rgb(110, 45, 153);
/* oklch */ color: oklch(44.3% 0.171 308.5);
Tailwind
colors: {
  custom: {
    50: '#9c6bb8',
    500: '#6e2d99',
    950: '#000000',
  },
}
SCSS
$custom: #6e2d99;
$custom-light: #9c6bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2d99",
  "rgb": {
    "r": 110,
    "g": 45,
    "b": 153
  },
  "hsl": {
    "h": 276.111,
    "s": 54.545,
    "l": 38.824
  },
  "oklch": {
    "l": 0.44257,
    "c": 0.1705,
    "h": 308.5
  },
  "luminance": 0.07492
}

Semantic roles & 50–950 ramp

primary
#6E2D99
secondary
#88BB67
accent
#DE4A85
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0F0711
muted
#7E7A80

Preview Lab

Preview with #6E2D99

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

Preview Lab → · Contrast checker → · Palette generator →

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