#3D0B4A#3D0B4A

#3D0B4A is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.3% C 0.114 H 318.2°. Best body text is #FFFFFF at 15.61:1 contrast (WCAG AA passes).

Color values

HEX#3D0B4A
RGBrgb(61, 11, 74)
HSLhsl(288, 74%, 17%)
HSVhsv(288, 85%, 29%)
CMYKcmyk(17.6%, 85.1%, 0%, 71%)
CIE-LABlab(13.98, 33.57, -27.03)
CIE-LCHlch(13.98, 43.10, 321.16°)
OKLaboklab(27.34% 0.085 -0.076)
OKLCHoklch(27.34% 0.114 318.2)
XYZxyz(3.2800, 1.7260, 6.6376)
Luminance0.0173 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0B4A #184A0B
analogous
#1E0B4A #3D0B4A #4A0B38
triadic
#3D0B4A #4A3D0B #0B4A3D
tetradic
#3D0B4A #4A1E0B #184A0B #0B384A
square
#3D0B4A #4A1E0B #184A0B #0B384A
split-complementary
#3D0B4A #384A0B #0B4A1E
monochromatic
#16041B #16041B #3D0B4A #69137F #951BB5

Accessibility & contrast

On white

15.61
#3D0B4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#3D0B4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D0B4A
15.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0B4A#FFFFFF#000000##FFFFFF
##3D0B4A1.0015.611.3515.61
#FFFFFF15.611.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204C
Deuteranopia (green-blind)
#0E2549
Tritanopia (blue-blind)
#3D192A
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3d0b4a;
/* rgb */ color: rgb(61, 11, 74);
/* oklch */ color: oklch(27.3% 0.114 318.2);
Tailwind
colors: {
  custom: {
    50: '#75517d',
    500: '#3d0b4a',
    950: '#000000',
  },
}
SCSS
$custom: #3d0b4a;
$custom-light: #75517d;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0b4a",
  "rgb": {
    "r": 61,
    "g": 11,
    "b": 74
  },
  "hsl": {
    "h": 287.619,
    "s": 74.118,
    "l": 16.667
  },
  "oklch": {
    "l": 0.27337,
    "c": 0.11401,
    "h": 318.2
  },
  "luminance": 0.01726
}

Semantic roles & 50–950 ramp

primary
#3D0B4A
secondary
#3D862B
accent
#F1375D
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#090209
muted
#7B787B

Preview Lab

Preview with #3D0B4A

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

Preview Lab → · Contrast checker → · Palette generator →

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