#3D1773#3D1773

#3D1773 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.3% C 0.145 H 295.8°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#3D1773
RGBrgb(61, 23, 115)
HSLhsl(265, 67%, 27%)
HSVhsv(265, 80%, 45%)
CMYKcmyk(47%, 80%, 0%, 54.9%)
CIE-LABlab(19.40, 38.72, -45.56)
CIE-LCHlch(19.40, 59.79, 310.36°)
OKLaboklab(32.27% 0.0632 -0.1305)
OKLCHoklch(32.27% 0.145 295.8)
XYZxyz(5.3245, 2.8426, 16.4845)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1773 #4D7317
analogous
#171F73 #3D1773 #6B1773
triadic
#3D1773 #733D17 #17733D
tetradic
#3D1773 #73171F #4D7317 #17736B
square
#3D1773 #73171F #4D7317 #17736B
split-complementary
#3D1773 #736B17 #1F7317
monochromatic
#0E051A #220D40 #3D1773 #5821A6 #742FD5

Accessibility & contrast

On white

13.39
#3D1773 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#3D1773 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1773
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1773#FFFFFF#000000##FFFFFF
##3D17731.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3d1773;
/* rgb */ color: rgb(61, 23, 115);
/* oklch */ color: oklch(32.3% 0.145 295.8);
Tailwind
colors: {
  custom: {
    50: '#79599c',
    500: '#3d1773',
    950: '#000000',
  },
}
SCSS
$custom: #3d1773;
$custom-light: #79599c;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1773",
  "rgb": {
    "r": 61,
    "g": 23,
    "b": 115
  },
  "hsl": {
    "h": 264.783,
    "s": 66.667,
    "l": 27.059
  },
  "oklch": {
    "l": 0.32272,
    "c": 0.14504,
    "h": 295.8
  },
  "luminance": 0.02843
}

Semantic roles & 50–950 ramp

primary
#3D1773
secondary
#7CA93D
accent
#EA3EA3
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #3D1773

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

Preview Lab → · Contrast checker → · Palette generator →

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