#3D1570#3D1570

#3D1570 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.8% C 0.144 H 297.3°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#3D1570
RGBrgb(61, 21, 112)
HSLhsl(266, 68%, 26%)
HSVhsv(266, 81%, 44%)
CMYKcmyk(45.5%, 81.2%, 0%, 56.1%)
CIE-LABlab(18.79, 38.82, -44.62)
CIE-LCHlch(18.79, 59.14, 311.03°)
OKLaboklab(31.76% 0.0659 -0.1277)
OKLCHoklch(31.76% 0.144 297.3)
XYZxyz(5.1165, 2.6982, 15.5773)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1570 #487015
analogous
#151A70 #3D1570 #6A1570
triadic
#3D1570 #703D15 #15703D
tetradic
#3D1570 #70151A #487015 #15706A
square
#3D1570 #70151A #487015 #15706A
split-complementary
#3D1570 #706A15 #1A7015
monochromatic
#0E051A #210B3C #3D1570 #591FA4 #7529D7

Accessibility & contrast

On white

13.64
#3D1570 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#3D1570 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1570
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1570#FFFFFF#000000##FFFFFF
##3D15701.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E73
Deuteranopia (green-blind)
#002D6E
Tritanopia (blue-blind)
#302E42
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3d1570;
/* rgb */ color: rgb(61, 21, 112);
/* oklch */ color: oklch(31.8% 0.144 297.3);
Tailwind
colors: {
  custom: {
    50: '#78589a',
    500: '#3d1570',
    950: '#000000',
  },
}
SCSS
$custom: #3d1570;
$custom-light: #78589a;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1570",
  "rgb": {
    "r": 61,
    "g": 21,
    "b": 112
  },
  "hsl": {
    "h": 266.374,
    "s": 68.421,
    "l": 26.078
  },
  "oklch": {
    "l": 0.31758,
    "c": 0.14375,
    "h": 297.3
  },
  "luminance": 0.02698
}

Semantic roles & 50–950 ramp

primary
#3D1570
secondary
#77A63B
accent
#EB3D9E
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #3D1570

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

Preview Lab → · Contrast checker → · Palette generator →

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