#6E2D79#6E2D79

#6E2D79 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.1% C 0.137 H 321.6°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#6E2D79
RGBrgb(110, 45, 121)
HSLhsl(291, 46%, 33%)
HSVhsv(291, 63%, 47%)
CMYKcmyk(9.1%, 62.8%, 0%, 52.5%)
CIE-LABlab(30.81, 40.54, -30.62)
CIE-LCHlch(30.81, 50.81, 322.93°)
OKLaboklab(42.09% 0.1076 -0.0852)
OKLCHoklch(42.09% 0.137 321.6)
XYZxyz(10.8196, 6.5728, 18.7842)
Luminance0.0657 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2D79 #38792D
analogous
#482D79 #6E2D79 #792D5E
triadic
#6E2D79 #796E2D #2D796E
tetradic
#6E2D79 #79482D #38792D #2D5E79
square
#6E2D79 #79482D #38792D #2D5E79
split-complementary
#6E2D79 #5E792D #2D7948
monochromatic
#1D0C20 #451C4C #6E2D79 #973EA6 #B45DC3

Accessibility & contrast

On white

9.07
#6E2D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#6E2D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2D79
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2D79#FFFFFF#000000##FFFFFF
##6E2D791.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D447B
Deuteranopia (green-blind)
#364B77
Tritanopia (blue-blind)
#6F394E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6e2d79;
/* rgb */ color: rgb(110, 45, 121);
/* oklch */ color: oklch(42.1% 0.137 321.6);
Tailwind
colors: {
  custom: {
    50: '#9a6aa0',
    500: '#6e2d79',
    950: '#000000',
  },
}
SCSS
$custom: #6e2d79;
$custom-light: #9a6aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2d79",
  "rgb": {
    "r": 110,
    "g": 45,
    "b": 121
  },
  "hsl": {
    "h": 291.316,
    "s": 45.783,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42085,
    "c": 0.13723,
    "h": 321.6
  },
  "luminance": 0.06572
}

Semantic roles & 50–950 ramp

primary
#6E2D79
secondary
#64A958
accent
#D55265
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E070F
muted
#7E7A7E

Preview Lab

Preview with #6E2D79

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

Preview Lab → · Contrast checker → · Palette generator →

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