#6E1D74#6E1D74

#6E1D74 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.0% C 0.155 H 325.0°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#6E1D74
RGBrgb(110, 29, 116)
HSLhsl(296, 60%, 28%)
HSVhsv(296, 75%, 45%)
CMYKcmyk(5.2%, 75%, 0%, 54.5%)
CIE-LABlab(27.99, 46.58, -31.94)
CIE-LCHlch(27.99, 56.48, 325.57°)
OKLaboklab(39.96% 0.1268 -0.0889)
OKLCHoklch(39.96% 0.155 325)
XYZxyz(10.0219, 5.4553, 17.0447)
Luminance0.0546 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1D74 #23741D
analogous
#421D74 #6E1D74 #741D4E
triadic
#6E1D74 #746E1D #1D746E
tetradic
#6E1D74 #74421D #23741D #1D4E74
square
#6E1D74 #74421D #23741D #1D4E74
split-complementary
#6E1D74 #4E741D #1D7442
monochromatic
#170618 #401143 #6E1D74 #9C29A5 #C43DCE

Accessibility & contrast

On white

10.04
#6E1D74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#6E1D74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1D74
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1D74#FFFFFF#000000##FFFFFF
##6E1D741.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033C76
Deuteranopia (green-blind)
#2F4572
Tritanopia (blue-blind)
#712C47
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6e1d74;
/* rgb */ color: rgb(110, 29, 116);
/* oklch */ color: oklch(40.0% 0.155 325.0);
Tailwind
colors: {
  custom: {
    50: '#9b629c',
    500: '#6e1d74',
    950: '#000000',
  },
}
SCSS
$custom: #6e1d74;
$custom-light: #9b629c;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1d74",
  "rgb": {
    "r": 110,
    "g": 29,
    "b": 116
  },
  "hsl": {
    "h": 295.862,
    "s": 60,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39955,
    "c": 0.15484,
    "h": 325
  },
  "luminance": 0.05455
}

Semantic roles & 50–950 ramp

primary
#6E1D74
secondary
#4CA845
accent
#E34550
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6E1D74

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

Preview Lab → · Contrast checker → · Palette generator →

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