#3D1381#3D1381

#3D1381 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.3% C 0.165 H 291.9°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#3D1381
RGBrgb(61, 19, 129)
HSLhsl(263, 74%, 29%)
HSVhsv(263, 85%, 51%)
CMYKcmyk(52.7%, 85.3%, 0%, 49.4%)
CIE-LABlab(20.21, 44.30, -53.17)
CIE-LCHlch(20.21, 69.20, 309.80°)
OKLaboklab(33.26% 0.0615 -0.1528)
OKLCHoklch(33.26% 0.165 291.9)
XYZxyz(6.1187, 3.0426, 21.0295)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1381 #578113
analogous
#132081 #3D1381 #741381
triadic
#3D1381 #813D13 #13813D
tetradic
#3D1381 #811320 #578113 #138174
square
#3D1381 #811320 #578113 #138174
split-complementary
#3D1381 #817413 #208113
monochromatic
#0D041B #240B4C #3D1381 #561BB6 #722EE0

Accessibility & contrast

On white

13.05
#3D1381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#3D1381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1381
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1381#FFFFFF#000000##FFFFFF
##3D13811.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003284
Deuteranopia (green-blind)
#002E7F
Tritanopia (blue-blind)
#25344C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3d1381;
/* rgb */ color: rgb(61, 19, 129);
/* oklch */ color: oklch(33.3% 0.165 291.9);
Tailwind
colors: {
  custom: {
    50: '#7b58a7',
    500: '#3d1381',
    950: '#000000',
  },
}
SCSS
$custom: #3d1381;
$custom-light: #7b58a7;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1381",
  "rgb": {
    "r": 61,
    "g": 19,
    "b": 129
  },
  "hsl": {
    "h": 262.909,
    "s": 74.324,
    "l": 29.02
  },
  "oklch": {
    "l": 0.33263,
    "c": 0.1647,
    "h": 291.9
  },
  "luminance": 0.03043
}

Semantic roles & 50–950 ramp

primary
#3D1381
secondary
#87B63A
accent
#F137AA
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3D1381

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

Preview Lab → · Contrast checker → · Palette generator →

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