#3D114C#3D114C

#3D114C is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.1% C 0.108 H 316.1°. Best body text is #FFFFFF at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#3D114C
RGBrgb(61, 17, 76)
HSLhsl(285, 63%, 18%)
HSVhsv(285, 78%, 30%)
CMYKcmyk(19.7%, 77.6%, 0%, 70.2%)
CIE-LABlab(15.03, 31.45, -26.71)
CIE-LCHlch(15.03, 41.26, 319.66°)
OKLaboklab(28.14% 0.0781 -0.0751)
OKLCHoklch(28.14% 0.108 316.1)
XYZxyz(3.4292, 1.9149, 7.0251)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D114C #204C11
analogous
#1F114C #3D114C #4C113D
triadic
#3D114C #4C3D11 #114C3D
tetradic
#3D114C #4C1F11 #204C11 #113D4C
square
#3D114C #4C1F11 #204C11 #113D4C
split-complementary
#3D114C #3D4C11 #114C1F
monochromatic
#140619 #15061A #3D114C #651C7E #8D27B0

Accessibility & contrast

On white

15.18
#3D114C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#3D114C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D114C
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D114C#FFFFFF#000000##FFFFFF
##3D114C1.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234E
Deuteranopia (green-blind)
#11274B
Tritanopia (blue-blind)
#3C1D2D
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3d114c;
/* rgb */ color: rgb(61, 17, 76);
/* oklch */ color: oklch(28.1% 0.108 316.1);
Tailwind
colors: {
  custom: {
    50: '#75547e',
    500: '#3d114c',
    950: '#000000',
  },
}
SCSS
$custom: #3d114c;
$custom-light: #75547e;
$custom-dark: #000000;
JSON
{
  "hex": "#3d114c",
  "rgb": {
    "r": 61,
    "g": 17,
    "b": 76
  },
  "hsl": {
    "h": 284.746,
    "s": 63.441,
    "l": 18.235
  },
  "oklch": {
    "l": 0.28136,
    "c": 0.10836,
    "h": 316.1
  },
  "luminance": 0.01915
}

Semantic roles & 50–950 ramp

primary
#3D114C
secondary
#488533
accent
#E6416B
background
#F7F4F7
surface
#EDE8EE
border
#C8C4C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #3D114C

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

Preview Lab → · Contrast checker → · Palette generator →

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