#3D134B#3D134B

#3D134B is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.3% C 0.104 H 316.5°. Best body text is #FFFFFF at 15.07:1 contrast (WCAG AA passes).

Color values

HEX#3D134B
RGBrgb(61, 19, 75)
HSLhsl(285, 60%, 18%)
HSVhsv(285, 75%, 29%)
CMYKcmyk(18.7%, 74.7%, 0%, 70.6%)
CIE-LABlab(15.31, 30.24, -25.58)
CIE-LCHlch(15.31, 39.61, 319.77°)
OKLaboklab(28.31% 0.0757 -0.0718)
OKLCHoklch(28.31% 0.104 316.5)
XYZxyz(3.4271, 1.9660, 6.8542)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D134B #214B13
analogous
#21134B #3D134B #4B133D
triadic
#3D134B #4B3D13 #134B3D
tetradic
#3D134B #4B2113 #214B13 #133D4B
square
#3D134B #4B2113 #214B13 #133D4B
split-complementary
#3D134B #3D4B13 #134B21
monochromatic
#140618 #15071A #3D134B #651F7C #8C2CAD

Accessibility & contrast

On white

15.07
#3D134B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D134B
15.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D134B#FFFFFF#000000##FFFFFF
##3D134B1.0015.071.3915.07
#FFFFFF15.071.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244D
Deuteranopia (green-blind)
#13284A
Tritanopia (blue-blind)
#3C1E2D
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3d134b;
/* rgb */ color: rgb(61, 19, 75);
/* oklch */ color: oklch(28.3% 0.104 316.5);
Tailwind
colors: {
  custom: {
    50: '#75557e',
    500: '#3d134b',
    950: '#000000',
  },
}
SCSS
$custom: #3d134b;
$custom-light: #75557e;
$custom-dark: #000000;
JSON
{
  "hex": "#3d134b",
  "rgb": {
    "r": 61,
    "g": 19,
    "b": 75
  },
  "hsl": {
    "h": 285,
    "s": 59.574,
    "l": 18.431
  },
  "oklch": {
    "l": 0.28308,
    "c": 0.10433,
    "h": 316.5
  },
  "luminance": 0.01966
}

Semantic roles & 50–950 ramp

primary
#3D134B
secondary
#4A8436
accent
#E3456C
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #3D134B

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

Preview Lab → · Contrast checker → · Palette generator →

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