#3D1873#3D1873

#3D1873 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.4% C 0.144 H 295.7°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#3D1873
RGBrgb(61, 24, 115)
HSLhsl(264, 65%, 27%)
HSVhsv(264, 79%, 45%)
CMYKcmyk(47%, 79.1%, 0%, 54.9%)
CIE-LABlab(19.57, 38.24, -45.28)
CIE-LCHlch(19.57, 59.27, 310.18°)
OKLaboklab(32.39% 0.0623 -0.1297)
OKLCHoklch(32.39% 0.144 295.7)
XYZxyz(5.3448, 2.8830, 16.4912)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1873 #4E7318
analogous
#182073 #3D1873 #6B1873
triadic
#3D1873 #733D18 #18733D
tetradic
#3D1873 #731820 #4E7318 #18736B
square
#3D1873 #731820 #4E7318 #18736B
split-complementary
#3D1873 #736B18 #207318
monochromatic
#0D0519 #220D40 #3D1873 #5823A6 #7331D4

Accessibility & contrast

On white

13.32
#3D1873 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#3D1873 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1873
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1873#FFFFFF#000000##FFFFFF
##3D18731.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003076
Deuteranopia (green-blind)
#002E71
Tritanopia (blue-blind)
#2E3144
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3d1873;
/* rgb */ color: rgb(61, 24, 115);
/* oklch */ color: oklch(32.4% 0.144 295.7);
Tailwind
colors: {
  custom: {
    50: '#79599c',
    500: '#3d1873',
    950: '#000000',
  },
}
SCSS
$custom: #3d1873;
$custom-light: #79599c;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1873",
  "rgb": {
    "r": 61,
    "g": 24,
    "b": 115
  },
  "hsl": {
    "h": 264.396,
    "s": 65.468,
    "l": 27.255
  },
  "oklch": {
    "l": 0.3239,
    "c": 0.14394,
    "h": 295.7
  },
  "luminance": 0.02883
}

Semantic roles & 50–950 ramp

primary
#3D1873
secondary
#7DA83F
accent
#E83FA4
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #3D1873

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

Preview Lab → · Contrast checker → · Palette generator →

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