#3D1976#3D1976

#3D1976 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.8% C 0.146 H 294.5°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#3D1976
RGBrgb(61, 25, 118)
HSLhsl(263, 65%, 28%)
HSVhsv(263, 79%, 46%)
CMYKcmyk(48.3%, 78.8%, 0%, 53.7%)
CIE-LABlab(20.02, 38.60, -46.47)
CIE-LCHlch(20.02, 60.41, 309.71°)
OKLaboklab(32.8% 0.0606 -0.1332)
OKLCHoklch(32.8% 0.146 294.5)
XYZxyz(5.5412, 2.9952, 17.4222)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1976 #527619
analogous
#192376 #3D1976 #6B1976
triadic
#3D1976 #763D19 #19763D
tetradic
#3D1976 #761923 #527619 #19766B
square
#3D1976 #761923 #527619 #19766B
split-complementary
#3D1976 #766B19 #237619
monochromatic
#0D0519 #230E43 #3D1976 #5724A8 #7335D4

Accessibility & contrast

On white

13.13
#3D1976 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#3D1976 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1976
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1976#FFFFFF#000000##FFFFFF
##3D19761.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003179
Deuteranopia (green-blind)
#002F74
Tritanopia (blue-blind)
#2C3246
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #3d1976;
/* rgb */ color: rgb(61, 25, 118);
/* oklch */ color: oklch(32.8% 0.146 294.5);
Tailwind
colors: {
  custom: {
    50: '#795a9e',
    500: '#3d1976',
    950: '#000000',
  },
}
SCSS
$custom: #3d1976;
$custom-light: #795a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1976",
  "rgb": {
    "r": 61,
    "g": 25,
    "b": 118
  },
  "hsl": {
    "h": 263.226,
    "s": 65.035,
    "l": 28.039
  },
  "oklch": {
    "l": 0.32797,
    "c": 0.14635,
    "h": 294.5
  },
  "luminance": 0.02995
}

Semantic roles & 50–950 ramp

primary
#3D1976
secondary
#81AB40
accent
#E840A7
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #3D1976

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

Preview Lab → · Contrast checker → · Palette generator →

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