#3D114E#3D114E

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

Color values

HEX#3D114E
RGBrgb(61, 17, 78)
HSLhsl(283, 64%, 19%)
HSVhsv(283, 78%, 31%)
CMYKcmyk(21.8%, 78.2%, 0%, 69.4%)
CIE-LABlab(15.19, 31.92, -27.84)
CIE-LCHlch(15.19, 42.35, 318.91°)
OKLaboklab(28.29% 0.0779 -0.0784)
OKLCHoklch(28.29% 0.111 314.8)
XYZxyz(3.4998, 1.9432, 7.3970)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D114E #224E11
analogous
#1E114E #3D114E #4E1140
triadic
#3D114E #4E3D11 #114E3D
tetradic
#3D114E #4E1E11 #224E11 #11404E
square
#3D114E #4E1E11 #224E11 #11404E
split-complementary
#3D114E #404E11 #114E1E
monochromatic
#140519 #16061C #3D114E #641C80 #8C27B2

Accessibility & contrast

On white

15.12
#3D114E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D114E
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D114E#FFFFFF#000000##FFFFFF
##3D114E1.0015.121.3915.12
#FFFFFF15.121.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3d114e;
/* rgb */ color: rgb(61, 17, 78);
/* oklch */ color: oklch(28.3% 0.111 314.8);
Tailwind
colors: {
  custom: {
    50: '#755480',
    500: '#3d114e',
    950: '#000000',
  },
}
SCSS
$custom: #3d114e;
$custom-light: #755480;
$custom-dark: #000000;
JSON
{
  "hex": "#3d114e",
  "rgb": {
    "r": 61,
    "g": 17,
    "b": 78
  },
  "hsl": {
    "h": 283.279,
    "s": 64.211,
    "l": 18.627
  },
  "oklch": {
    "l": 0.28293,
    "c": 0.11052,
    "h": 314.8
  },
  "luminance": 0.01943
}

Semantic roles & 50–950 ramp

primary
#3D114E
secondary
#4B8733
accent
#E7416F
background
#F7F4F7
surface
#EDE8EE
border
#C8C4C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3D114E

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

Preview Lab → · Contrast checker → · Palette generator →

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