#3D0D56#3D0D56

#3D0D56 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.5% C 0.124 H 310.6°. Best body text is #FFFFFF at 15.10:1 contrast (WCAG AA passes).

Color values

HEX#3D0D56
RGBrgb(61, 13, 86)
HSLhsl(279, 74%, 19%)
HSVhsv(279, 85%, 34%)
CMYKcmyk(29.1%, 84.9%, 0%, 66.3%)
CIE-LABlab(15.23, 35.56, -33.21)
CIE-LCHlch(15.23, 48.66, 316.95°)
OKLaboklab(28.53% 0.0806 -0.0942)
OKLCHoklch(28.53% 0.124 310.6)
XYZxyz(3.7478, 1.9519, 8.9816)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0D56 #26560D
analogous
#190D56 #3D0D56 #560D4B
triadic
#3D0D56 #563D0D #0D563D
tetradic
#3D0D56 #56190D #26560D #0D4B56
square
#3D0D56 #56190D #26560D #0D4B56
split-complementary
#3D0D56 #4B560D #0D5619
monochromatic
#13041B #170521 #3D0D56 #63158B #881DC0

Accessibility & contrast

On white

15.10
#3D0D56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#3D0D56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D0D56
15.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0D56#FFFFFF#000000##FFFFFF
##3D0D561.0015.101.3915.10
#FFFFFF15.101.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002458
Deuteranopia (green-blind)
#002755
Tritanopia (blue-blind)
#3A1F31
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3d0d56;
/* rgb */ color: rgb(61, 13, 86);
/* oklch */ color: oklch(28.5% 0.124 310.6);
Tailwind
colors: {
  custom: {
    50: '#765286',
    500: '#3d0d56',
    950: '#000000',
  },
}
SCSS
$custom: #3d0d56;
$custom-light: #765286;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0d56",
  "rgb": {
    "r": 61,
    "g": 13,
    "b": 86
  },
  "hsl": {
    "h": 279.452,
    "s": 73.737,
    "l": 19.412
  },
  "oklch": {
    "l": 0.28532,
    "c": 0.12397,
    "h": 310.6
  },
  "luminance": 0.01952
}

Semantic roles & 50–950 ramp

primary
#3D0D56
secondary
#50912E
accent
#F03777
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#09020B
muted
#7B787C

Preview Lab

Preview with #3D0D56

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

Preview Lab → · Contrast checker → · Palette generator →

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