#3D124E#3D124E

#3D124E is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.4% C 0.109 H 314.6°. Best body text is #FFFFFF at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#3D124E
RGBrgb(61, 18, 78)
HSLhsl(283, 63%, 19%)
HSVhsv(283, 77%, 31%)
CMYKcmyk(21.8%, 76.9%, 0%, 69.4%)
CIE-LABlab(15.36, 31.44, -27.57)
CIE-LCHlch(15.36, 41.82, 318.76°)
OKLaboklab(28.41% 0.0767 -0.0776)
OKLCHoklch(28.41% 0.109 314.6)
XYZxyz(3.5157, 1.9749, 7.4022)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D124E #234E12
analogous
#1F124E #3D124E #4E1241
triadic
#3D124E #4E3D12 #124E3D
tetradic
#3D124E #4E1F12 #234E12 #12414E
square
#3D124E #4E1F12 #234E12 #12414E
split-complementary
#3D124E #414E12 #124E1F
monochromatic
#130619 #16071C #3D124E #641D80 #8B29B1

Accessibility & contrast

On white

15.05
#3D124E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#3D124E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D124E
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D124E#FFFFFF#000000##FFFFFF
##3D124E1.0015.051.4015.05
#FFFFFF15.051.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002450
Deuteranopia (green-blind)
#10274D
Tritanopia (blue-blind)
#3C1E2E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3d124e;
/* rgb */ color: rgb(61, 18, 78);
/* oklch */ color: oklch(28.4% 0.109 314.6);
Tailwind
colors: {
  custom: {
    50: '#755480',
    500: '#3d124e',
    950: '#000000',
  },
}
SCSS
$custom: #3d124e;
$custom-light: #755480;
$custom-dark: #000000;
JSON
{
  "hex": "#3d124e",
  "rgb": {
    "r": 61,
    "g": 18,
    "b": 78
  },
  "hsl": {
    "h": 283,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.28413,
    "c": 0.10912,
    "h": 314.6
  },
  "luminance": 0.01975
}

Semantic roles & 50–950 ramp

primary
#3D124E
secondary
#4C8735
accent
#E64271
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3D124E

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

Preview Lab → · Contrast checker → · Palette generator →

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