#3D0B4B#3D0B4B

#3D0B4B is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.4% C 0.115 H 317.5°. Best body text is #FFFFFF at 15.58:1 contrast (WCAG AA passes).

Color values

HEX#3D0B4B
RGBrgb(61, 11, 75)
HSLhsl(287, 74%, 17%)
HSVhsv(287, 85%, 29%)
CMYKcmyk(18.7%, 85.3%, 0%, 70.6%)
CIE-LABlab(14.06, 33.79, -27.59)
CIE-LCHlch(14.06, 43.63, 320.77°)
OKLaboklab(27.42% 0.0848 -0.0777)
OKLCHoklch(27.42% 0.115 317.5)
XYZxyz(3.3140, 1.7396, 6.8165)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0B4B #194B0B
analogous
#1D0B4B #3D0B4B #4B0B39
triadic
#3D0B4B #4B3D0B #0B4B3D
tetradic
#3D0B4B #4B1D0B #194B0B #0B394B
square
#3D0B4B #4B1D0B #194B0B #0B394B
split-complementary
#3D0B4B #394B0B #0B4B1D
monochromatic
#16041B #16041B #3D0B4B #681380 #941BB6

Accessibility & contrast

On white

15.58
#3D0B4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D0B4B
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0B4B#FFFFFF#000000##FFFFFF
##3D0B4B1.0015.581.3515.58
#FFFFFF15.581.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214D
Deuteranopia (green-blind)
#0D254A
Tritanopia (blue-blind)
#3C192B
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3d0b4b;
/* rgb */ color: rgb(61, 11, 75);
/* oklch */ color: oklch(27.4% 0.115 317.5);
Tailwind
colors: {
  custom: {
    50: '#75517e',
    500: '#3d0b4b',
    950: '#000000',
  },
}
SCSS
$custom: #3d0b4b;
$custom-light: #75517e;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0b4b",
  "rgb": {
    "r": 61,
    "g": 11,
    "b": 75
  },
  "hsl": {
    "h": 286.875,
    "s": 74.419,
    "l": 16.863
  },
  "oklch": {
    "l": 0.27418,
    "c": 0.11501,
    "h": 317.5
  },
  "luminance": 0.01739
}

Semantic roles & 50–950 ramp

primary
#3D0B4B
secondary
#3F872B
accent
#F13760
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#09020A
muted
#7B787C

Preview Lab

Preview with #3D0B4B

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

Preview Lab → · Contrast checker → · Palette generator →

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