#3D124D#3D124D

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

Color values

HEX#3D124D
RGBrgb(61, 18, 77)
HSLhsl(284, 62%, 19%)
HSVhsv(284, 77%, 30%)
CMYKcmyk(20.8%, 76.6%, 0%, 69.8%)
CIE-LABlab(15.28, 31.20, -27.00)
CIE-LCHlch(15.28, 41.27, 319.13°)
OKLaboklab(28.34% 0.0768 -0.076)
OKLCHoklch(28.34% 0.108 315.3)
XYZxyz(3.4801, 1.9607, 7.2149)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D124D #224D12
analogous
#1F124D #3D124D #4D123F
triadic
#3D124D #4D3D12 #124D3D
tetradic
#3D124D #4D1F12 #224D12 #123F4D
square
#3D124D #4D1F12 #224D12 #123F4D
split-complementary
#3D124D #3F4D12 #124D1F
monochromatic
#140619 #16061B #3D124D #641E7F #8C29B0

Accessibility & contrast

On white

15.08
#3D124D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D124D
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D124D#FFFFFF#000000##FFFFFF
##3D124D1.0015.081.3915.08
#FFFFFF15.081.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244F
Deuteranopia (green-blind)
#11274C
Tritanopia (blue-blind)
#3C1E2E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3d124d;
/* rgb */ color: rgb(61, 18, 77);
/* oklch */ color: oklch(28.3% 0.108 315.3);
Tailwind
colors: {
  custom: {
    50: '#75547f',
    500: '#3d124d',
    950: '#000000',
  },
}
SCSS
$custom: #3d124d;
$custom-light: #75547f;
$custom-dark: #000000;
JSON
{
  "hex": "#3d124d",
  "rgb": {
    "r": 61,
    "g": 18,
    "b": 77
  },
  "hsl": {
    "h": 283.729,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.28335,
    "c": 0.10801,
    "h": 315.3
  },
  "luminance": 0.01961
}

Semantic roles & 50–950 ramp

primary
#3D124D
secondary
#4B8635
accent
#E5436F
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #3D124D

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

Preview Lab → · Contrast checker → · Palette generator →

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