#3D0B4D#3D0B4D

#3D0B4D is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.6% C 0.117 H 316.2°. Best body text is #FFFFFF at 15.52:1 contrast (WCAG AA passes).

Color values

HEX#3D0B4D
RGBrgb(61, 11, 77)
HSLhsl(285, 75%, 17%)
HSVhsv(285, 86%, 30%)
CMYKcmyk(20.8%, 85.7%, 0%, 69.8%)
CIE-LABlab(14.22, 34.24, -28.71)
CIE-LCHlch(14.22, 44.69, 320.01°)
OKLaboklab(27.58% 0.0845 -0.081)
OKLCHoklch(27.58% 0.117 316.2)
XYZxyz(3.3835, 1.7674, 7.1827)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0B4D #1B4D0B
analogous
#1C0B4D #3D0B4D #4D0B3C
triadic
#3D0B4D #4D3D0B #0B4D3D
tetradic
#3D0B4D #4D1C0B #1B4D0B #0B3C4D
square
#3D0B4D #4D1C0B #1B4D0B #0B3C4D
split-complementary
#3D0B4D #3C4D0B #0B4D1C
monochromatic
#15041B #15041B #3D0B4D #671383 #921AB8

Accessibility & contrast

On white

15.52
#3D0B4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D0B4D
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0B4D#FFFFFF#000000##FFFFFF
##3D0B4D1.0015.521.3515.52
#FFFFFF15.521.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214F
Deuteranopia (green-blind)
#0A254C
Tritanopia (blue-blind)
#3C1A2C
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3d0b4d;
/* rgb */ color: rgb(61, 11, 77);
/* oklch */ color: oklch(27.6% 0.117 316.2);
Tailwind
colors: {
  custom: {
    50: '#75517f',
    500: '#3d0b4d',
    950: '#000000',
  },
}
SCSS
$custom: #3d0b4d;
$custom-light: #75517f;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0b4d",
  "rgb": {
    "r": 61,
    "g": 11,
    "b": 77
  },
  "hsl": {
    "h": 285.455,
    "s": 75,
    "l": 17.255
  },
  "oklch": {
    "l": 0.27581,
    "c": 0.117,
    "h": 316.2
  },
  "luminance": 0.01767
}

Semantic roles & 50–950 ramp

primary
#3D0B4D
secondary
#42892B
accent
#F23664
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#09020A
muted
#7B787C

Preview Lab

Preview with #3D0B4D

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

Preview Lab → · Contrast checker → · Palette generator →

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