#3D0B56#3D0B56

#3D0B56 is a dark, vivid purple. Relative luminance 0.019; OKLCH L 28.3% C 0.126 H 310.8°. Best body text is #FFFFFF at 15.21:1 contrast (WCAG AA passes).

Color values

HEX#3D0B56
RGBrgb(61, 11, 86)
HSLhsl(280, 77%, 19%)
HSVhsv(280, 87%, 34%)
CMYKcmyk(29.1%, 87.2%, 0%, 66.3%)
CIE-LABlab(14.97, 36.31, -33.64)
CIE-LCHlch(14.97, 49.50, 317.19°)
OKLaboklab(28.35% 0.0824 -0.0954)
OKLCHoklch(28.35% 0.126 310.8)
XYZxyz(3.7235, 1.9034, 8.9735)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0B56 #24560B
analogous
#180B56 #3D0B56 #560B4A
triadic
#3D0B56 #563D0B #0B563D
tetradic
#3D0B56 #56180B #24560B #0B4A56
square
#3D0B56 #56180B #24560B #0B4A56
split-complementary
#3D0B56 #4A560B #0B5618
monochromatic
#13031B #170420 #3D0B56 #63128C #8A19C3

Accessibility & contrast

On white

15.21
#3D0B56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#3D0B56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D0B56
15.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0B56#FFFFFF#000000##FFFFFF
##3D0B561.0015.211.3815.21
#FFFFFF15.211.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002358
Deuteranopia (green-blind)
#002655
Tritanopia (blue-blind)
#3A1E31
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3d0b56;
/* rgb */ color: rgb(61, 11, 86);
/* oklch */ color: oklch(28.3% 0.126 310.8);
Tailwind
colors: {
  custom: {
    50: '#765186',
    500: '#3d0b56',
    950: '#000000',
  },
}
SCSS
$custom: #3d0b56;
$custom-light: #765186;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0b56",
  "rgb": {
    "r": 61,
    "g": 11,
    "b": 86
  },
  "hsl": {
    "h": 280,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.28349,
    "c": 0.12608,
    "h": 310.8
  },
  "luminance": 0.01903
}

Semantic roles & 50–950 ramp

primary
#3D0B56
secondary
#4D912B
accent
#F43474
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#09020B
muted
#7B787C

Preview Lab

Preview with #3D0B56

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

Preview Lab → · Contrast checker → · Palette generator →

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