#3D1879#3D1879

#3D1879 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.0% C 0.151 H 293.7°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#3D1879
RGBrgb(61, 24, 121)
HSLhsl(263, 67%, 28%)
HSVhsv(263, 80%, 47%)
CMYKcmyk(49.6%, 80.2%, 0%, 52.5%)
CIE-LABlab(20.15, 39.92, -48.19)
CIE-LCHlch(20.15, 62.58, 309.64°)
OKLaboklab(32.97% 0.0606 -0.1383)
OKLCHoklch(32.97% 0.151 293.7)
XYZxyz(5.7013, 3.0257, 18.3691)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1879 #547918
analogous
#182379 #3D1879 #6D1879
triadic
#3D1879 #793D18 #18793D
tetradic
#3D1879 #791823 #547918 #18796D
square
#3D1879 #791823 #547918 #18796D
split-complementary
#3D1879 #796D18 #237918
monochromatic
#0D051A #230E46 #3D1879 #5722AC #7235D7

Accessibility & contrast

On white

13.08
#3D1879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#3D1879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1879
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1879#FFFFFF#000000##FFFFFF
##3D18791.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327C
Deuteranopia (green-blind)
#002F77
Tritanopia (blue-blind)
#2B3348
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3d1879;
/* rgb */ color: rgb(61, 24, 121);
/* oklch */ color: oklch(33.0% 0.151 293.7);
Tailwind
colors: {
  custom: {
    50: '#795aa1',
    500: '#3d1879',
    950: '#000000',
  },
}
SCSS
$custom: #3d1879;
$custom-light: #795aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1879",
  "rgb": {
    "r": 61,
    "g": 24,
    "b": 121
  },
  "hsl": {
    "h": 262.887,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3297,
    "c": 0.15095,
    "h": 293.7
  },
  "luminance": 0.03026
}

Semantic roles & 50–950 ramp

primary
#3D1879
secondary
#84AE3F
accent
#EA3EA8
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3D1879

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

Preview Lab → · Contrast checker → · Palette generator →

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