#3D124B#3D124B

#3D124B is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.2% C 0.106 H 316.6°. Best body text is #FFFFFF at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#3D124B
RGBrgb(61, 18, 75)
HSLhsl(285, 61%, 18%)
HSVhsv(285, 76%, 29%)
CMYKcmyk(18.7%, 76%, 0%, 70.6%)
CIE-LABlab(15.13, 30.73, -25.87)
CIE-LCHlch(15.13, 40.17, 319.92°)
OKLaboklab(28.18% 0.0769 -0.0727)
OKLCHoklch(28.18% 0.106 316.6)
XYZxyz(3.4106, 1.9328, 6.8487)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D124B #204B12
analogous
#20124B #3D124B #4B123C
triadic
#3D124B #4B3D12 #124B3D
tetradic
#3D124B #4B2012 #204B12 #123C4B
square
#3D124B #4B2012 #204B12 #123C4B
split-complementary
#3D124B #3C4B12 #124B20
monochromatic
#140619 #15061A #3D124B #651E7C #8D2AAE

Accessibility & contrast

On white

15.14
#3D124B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D124B
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D124B#FFFFFF#000000##FFFFFF
##3D124B1.0015.141.3915.14
#FFFFFF15.141.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234D
Deuteranopia (green-blind)
#13274A
Tritanopia (blue-blind)
#3C1D2D
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3d124b;
/* rgb */ color: rgb(61, 18, 75);
/* oklch */ color: oklch(28.2% 0.106 316.6);
Tailwind
colors: {
  custom: {
    50: '#75547e',
    500: '#3d124b',
    950: '#000000',
  },
}
SCSS
$custom: #3d124b;
$custom-light: #75547e;
$custom-dark: #000000;
JSON
{
  "hex": "#3d124b",
  "rgb": {
    "r": 61,
    "g": 18,
    "b": 75
  },
  "hsl": {
    "h": 285.263,
    "s": 61.29,
    "l": 18.235
  },
  "oklch": {
    "l": 0.28182,
    "c": 0.10583,
    "h": 316.6
  },
  "luminance": 0.01933
}

Semantic roles & 50–950 ramp

primary
#3D124B
secondary
#488435
accent
#E4436B
background
#F7F5F7
surface
#EDE8EE
border
#C8C4C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #3D124B

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

Preview Lab → · Contrast checker → · Palette generator →

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