#6E2D96#6E2D96

#6E2D96 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.0% C 0.167 H 309.5°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#6E2D96
RGBrgb(110, 45, 150)
HSLhsl(277, 54%, 38%)
HSVhsv(277, 70%, 59%)
CMYKcmyk(26.7%, 70%, 0%, 41.2%)
CIE-LABlab(32.69, 46.91, -45.61)
CIE-LCHlch(32.69, 65.43, 315.80°)
OKLaboklab(44.04% 0.1066 -0.129)
OKLCHoklch(44.04% 0.167 309.5)
XYZxyz(12.8727, 7.3940, 29.5973)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2D96 #55962D
analogous
#392D96 #6E2D96 #962D89
triadic
#6E2D96 #966E2D #2D966E
tetradic
#6E2D96 #96392D #55962D #2D8996
square
#6E2D96 #96392D #55962D #2D8996
split-complementary
#6E2D96 #89962D #2D9639
monochromatic
#291138 #4B1F67 #6E2D96 #903CC4 #AB6BD3

Accessibility & contrast

On white

8.47
#6E2D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#6E2D96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2D96
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2D96#FFFFFF#000000##FFFFFF
##6E2D961.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A99
Deuteranopia (green-blind)
#1A4E94
Tritanopia (blue-blind)
#68445E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6e2d96;
/* rgb */ color: rgb(110, 45, 150);
/* oklch */ color: oklch(44.0% 0.167 309.5);
Tailwind
colors: {
  custom: {
    50: '#9b6bb5',
    500: '#6e2d96',
    950: '#000000',
  },
}
SCSS
$custom: #6e2d96;
$custom-light: #9b6bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2d96",
  "rgb": {
    "r": 110,
    "g": 45,
    "b": 150
  },
  "hsl": {
    "h": 277.143,
    "s": 53.846,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44037,
    "c": 0.16734,
    "h": 309.5
  },
  "luminance": 0.07394
}

Semantic roles & 50–950 ramp

primary
#6E2D96
secondary
#85B965
accent
#DD4B82
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0F0711
muted
#7E7A80

Preview Lab

Preview with #6E2D96

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

Preview Lab → · Contrast checker → · Palette generator →

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