#3D034E#3D034E

#3D034E is a dark, vivid purple. Relative luminance 0.016; OKLCH L 26.9% C 0.127 H 316.4°. Best body text is #FFFFFF at 15.89:1 contrast (WCAG AA passes).

Color values

HEX#3D034E
RGBrgb(61, 3, 78)
HSLhsl(286, 93%, 16%)
HSVhsv(286, 96%, 31%)
CMYKcmyk(21.8%, 96.2%, 0%, 69.4%)
CIE-LABlab(13.28, 37.45, -30.93)
CIE-LCHlch(13.28, 48.57, 320.45°)
OKLaboklab(26.95% 0.0918 -0.0874)
OKLCHoklch(26.95% 0.127 316.4)
XYZxyz(3.3320, 1.6074, 7.3410)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D034E #144E03
analogous
#17034E #3D034E #4E0339
triadic
#3D034E #4E3D03 #034E3D
tetradic
#3D034E #4E1703 #144E03 #03394E
square
#3D034E #4E1703 #144E03 #03394E
split-complementary
#3D034E #394E03 #034E17
monochromatic
#17011D #17011D #3D034E #6B0589 #9908C4

Accessibility & contrast

On white

15.89
#3D034E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#3D034E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D034E
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D034E#FFFFFF#000000##FFFFFF
##3D034E1.0015.891.3215.89
#FFFFFF15.891.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F50
Deuteranopia (green-blind)
#02244D
Tritanopia (blue-blind)
#3C172B
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3d034e;
/* rgb */ color: rgb(61, 3, 78);
/* oklch */ color: oklch(26.9% 0.127 316.4);
Tailwind
colors: {
  custom: {
    50: '#764e80',
    500: '#3d034e',
    950: '#000000',
  },
}
SCSS
$custom: #3d034e;
$custom-light: #764e80;
$custom-dark: #000000;
JSON
{
  "hex": "#3d034e",
  "rgb": {
    "r": 61,
    "g": 3,
    "b": 78
  },
  "hsl": {
    "h": 286.4,
    "s": 92.593,
    "l": 15.882
  },
  "oklch": {
    "l": 0.26949,
    "c": 0.12674,
    "h": 316.4
  },
  "luminance": 0.01607
}

Semantic roles & 50–950 ramp

primary
#3D034E
secondary
#388E1E
accent
#FF2959
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#09020A
muted
#7B787C

Preview Lab

Preview with #3D034E

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

Preview Lab → · Contrast checker → · Palette generator →

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