#3D1573#3D1573

#3D1573 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.0% C 0.147 H 296.2°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#3D1573
RGBrgb(61, 21, 115)
HSLhsl(266, 69%, 27%)
HSVhsv(266, 82%, 45%)
CMYKcmyk(47%, 81.7%, 0%, 54.9%)
CIE-LABlab(19.08, 39.64, -46.08)
CIE-LCHlch(19.08, 60.79, 310.70°)
OKLaboklab(32.05% 0.065 -0.132)
OKLCHoklch(32.05% 0.147 296.2)
XYZxyz(5.2863, 2.7661, 16.4717)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1573 #4B7315
analogous
#151C73 #3D1573 #6C1573
triadic
#3D1573 #733D15 #15733D
tetradic
#3D1573 #73151C #4B7315 #15736C
square
#3D1573 #73151C #4B7315 #15736C
split-complementary
#3D1573 #736C15 #1C7315
monochromatic
#0E051A #220C3F #3D1573 #581EA7 #742AD8

Accessibility & contrast

On white

13.52
#3D1573 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#3D1573 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1573
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1573#FFFFFF#000000##FFFFFF
##3D15731.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F76
Deuteranopia (green-blind)
#002D71
Tritanopia (blue-blind)
#2E2F44
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3d1573;
/* rgb */ color: rgb(61, 21, 115);
/* oklch */ color: oklch(32.0% 0.147 296.2);
Tailwind
colors: {
  custom: {
    50: '#79589c',
    500: '#3d1573',
    950: '#000000',
  },
}
SCSS
$custom: #3d1573;
$custom-light: #79589c;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1573",
  "rgb": {
    "r": 61,
    "g": 21,
    "b": 115
  },
  "hsl": {
    "h": 265.532,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.32049,
    "c": 0.14717,
    "h": 296.2
  },
  "luminance": 0.02766
}

Semantic roles & 50–950 ramp

primary
#3D1573
secondary
#7AA93B
accent
#EC3CA1
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #3D1573

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

Preview Lab → · Contrast checker → · Palette generator →

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