#3D114A#3D114A

#3D114A is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.0% C 0.106 H 317.5°. Best body text is #FFFFFF at 15.25:1 contrast (WCAG AA passes).

Color values

HEX#3D114A
RGBrgb(61, 17, 74)
HSLhsl(286, 63%, 18%)
HSVhsv(286, 77%, 29%)
CMYKcmyk(17.6%, 77%, 0%, 71%)
CIE-LABlab(14.89, 30.98, -25.57)
CIE-LCHlch(14.89, 40.17, 320.47°)
OKLaboklab(27.98% 0.0783 -0.0718)
OKLCHoklch(27.98% 0.106 317.5)
XYZxyz(3.3608, 1.8876, 6.6645)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D114A #1E4A11
analogous
#21114A #3D114A #4A113A
triadic
#3D114A #4A3D11 #114A3D
tetradic
#3D114A #4A2111 #1E4A11 #113A4A
square
#3D114A #4A2111 #1E4A11 #113A4A
split-complementary
#3D114A #3A4A11 #114A21
monochromatic
#150619 #150619 #3D114A #661C7C #8F28AE

Accessibility & contrast

On white

15.25
#3D114A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D114A
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D114A#FFFFFF#000000##FFFFFF
##3D114A1.0015.251.3815.25
#FFFFFF15.251.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234C
Deuteranopia (green-blind)
#132749
Tritanopia (blue-blind)
#3C1C2C
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3d114a;
/* rgb */ color: rgb(61, 17, 74);
/* oklch */ color: oklch(28.0% 0.106 317.5);
Tailwind
colors: {
  custom: {
    50: '#75537d',
    500: '#3d114a',
    950: '#000000',
  },
}
SCSS
$custom: #3d114a;
$custom-light: #75537d;
$custom-dark: #000000;
JSON
{
  "hex": "#3d114a",
  "rgb": {
    "r": 61,
    "g": 17,
    "b": 74
  },
  "hsl": {
    "h": 286.316,
    "s": 62.637,
    "l": 17.843
  },
  "oklch": {
    "l": 0.27983,
    "c": 0.1062,
    "h": 317.5
  },
  "luminance": 0.01887
}

Semantic roles & 50–950 ramp

primary
#3D114A
secondary
#468333
accent
#E64267
background
#F7F4F7
surface
#EDE8EE
border
#C8C4C9
text
#080309
muted
#7B787B

Preview Lab

Preview with #3D114A

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

Preview Lab → · Contrast checker → · Palette generator →

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