#3D1D79#3D1D79

#3D1D79 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.6% C 0.145 H 292.7°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#3D1D79
RGBrgb(61, 29, 121)
HSLhsl(261, 61%, 29%)
HSVhsv(261, 76%, 47%)
CMYKcmyk(49.6%, 76%, 0%, 52.5%)
CIE-LABlab(21.02, 37.43, -46.75)
CIE-LCHlch(21.02, 59.89, 308.68°)
OKLaboklab(33.59% 0.0561 -0.1341)
OKLCHoklch(33.59% 0.145 292.7)
XYZxyz(5.8141, 3.2511, 18.4066)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1D79 #59791D
analogous
#1D2B79 #3D1D79 #6B1D79
triadic
#3D1D79 #793D1D #1D793D
tetradic
#3D1D79 #791D2B #59791D #1D796B
square
#3D1D79 #791D2B #59791D #1D796B
split-complementary
#3D1D79 #796B1D #2B791D
monochromatic
#0C0619 #241148 #3D1D79 #5629AA #723FD1

Accessibility & contrast

On white

12.73
#3D1D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#3D1D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1D79
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1D79#FFFFFF#000000##FFFFFF
##3D1D791.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347C
Deuteranopia (green-blind)
#003177
Tritanopia (blue-blind)
#2A3549
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #3d1d79;
/* rgb */ color: rgb(61, 29, 121);
/* oklch */ color: oklch(33.6% 0.145 292.7);
Tailwind
colors: {
  custom: {
    50: '#795ca1',
    500: '#3d1d79',
    950: '#000000',
  },
}
SCSS
$custom: #3d1d79;
$custom-light: #795ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1d79",
  "rgb": {
    "r": 61,
    "g": 29,
    "b": 121
  },
  "hsl": {
    "h": 260.87,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.33586,
    "c": 0.14535,
    "h": 292.7
  },
  "luminance": 0.03251
}

Semantic roles & 50–950 ramp

primary
#3D1D79
secondary
#89AD45
accent
#E443AC
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3D1D79

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

Preview Lab → · Contrast checker → · Palette generator →

#3D1D79 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva