#3D124C#3D124C

#3D124C is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.3% C 0.107 H 316.0°. Best body text is #FFFFFF at 15.11:1 contrast (WCAG AA passes).

Color values

HEX#3D124C
RGBrgb(61, 18, 76)
HSLhsl(284, 62%, 18%)
HSVhsv(284, 76%, 30%)
CMYKcmyk(19.7%, 76.3%, 0%, 70.2%)
CIE-LABlab(15.20, 30.97, -26.43)
CIE-LCHlch(15.20, 40.72, 319.52°)
OKLaboklab(28.26% 0.0769 -0.0743)
OKLCHoklch(28.26% 0.107 316)
XYZxyz(3.4451, 1.9466, 7.0303)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D124C #214C12
analogous
#20124C #3D124C #4C123E
triadic
#3D124C #4C3D12 #124C3D
tetradic
#3D124C #4C2012 #214C12 #123E4C
square
#3D124C #4C2012 #214C12 #123E4C
split-complementary
#3D124C #3E4C12 #124C20
monochromatic
#140619 #15061B #3D124C #651E7D #8C29AF

Accessibility & contrast

On white

15.11
#3D124C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D124C
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D124C#FFFFFF#000000##FFFFFF
##3D124C1.0015.111.3915.11
#FFFFFF15.111.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244E
Deuteranopia (green-blind)
#12274B
Tritanopia (blue-blind)
#3C1E2D
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3d124c;
/* rgb */ color: rgb(61, 18, 76);
/* oklch */ color: oklch(28.3% 0.107 316.0);
Tailwind
colors: {
  custom: {
    50: '#75547e',
    500: '#3d124c',
    950: '#000000',
  },
}
SCSS
$custom: #3d124c;
$custom-light: #75547e;
$custom-dark: #000000;
JSON
{
  "hex": "#3d124c",
  "rgb": {
    "r": 61,
    "g": 18,
    "b": 76
  },
  "hsl": {
    "h": 284.483,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.28258,
    "c": 0.10692,
    "h": 316
  },
  "luminance": 0.01947
}

Semantic roles & 50–950 ramp

primary
#3D124C
secondary
#4A8535
accent
#E5436D
background
#F7F5F7
surface
#EDE8EE
border
#C8C4C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #3D124C

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

Preview Lab → · Contrast checker → · Palette generator →

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