#6E2D91#6E2D91

#6E2D91 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.7% C 0.162 H 311.3°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#6E2D91
RGBrgb(110, 45, 145)
HSLhsl(279, 53%, 37%)
HSVhsv(279, 69%, 57%)
CMYKcmyk(24.1%, 69%, 0%, 43.1%)
CIE-LABlab(32.34, 45.77, -43.11)
CIE-LCHlch(32.34, 62.87, 316.71°)
OKLaboklab(43.68% 0.1071 -0.1217)
OKLCHoklch(43.68% 0.162 311.3)
XYZxyz(12.4787, 7.2364, 27.5220)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2D91 #50912D
analogous
#3C2D91 #6E2D91 #912D82
triadic
#6E2D91 #916E2D #2D916E
tetradic
#6E2D91 #913C2D #50912D #2D8291
square
#6E2D91 #913C2D #50912D #2D8291
split-complementary
#6E2D91 #82912D #2D913C
monochromatic
#271034 #4B1F62 #6E2D91 #913BC0 #AC68D0

Accessibility & contrast

On white

8.58
#6E2D91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#6E2D91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2D91
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2D91#FFFFFF#000000##FFFFFF
##6E2D911.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004994
Deuteranopia (green-blind)
#214D8F
Tritanopia (blue-blind)
#6A425B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6e2d91;
/* rgb */ color: rgb(110, 45, 145);
/* oklch */ color: oklch(43.7% 0.162 311.3);
Tailwind
colors: {
  custom: {
    50: '#9b6bb2',
    500: '#6e2d91',
    950: '#000000',
  },
}
SCSS
$custom: #6e2d91;
$custom-light: #9b6bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2d91",
  "rgb": {
    "r": 110,
    "g": 45,
    "b": 145
  },
  "hsl": {
    "h": 279,
    "s": 52.632,
    "l": 37.255
  },
  "oklch": {
    "l": 0.43676,
    "c": 0.16209,
    "h": 311.3
  },
  "luminance": 0.07236
}

Semantic roles & 50–950 ramp

primary
#6E2D91
secondary
#80B763
accent
#DC4C7E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #6E2D91

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

Preview Lab → · Contrast checker → · Palette generator →

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