#3D1470#3D1470

#3D1470 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.6% C 0.145 H 297.5°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#3D1470
RGBrgb(61, 20, 112)
HSLhsl(267, 70%, 26%)
HSVhsv(267, 82%, 44%)
CMYKcmyk(45.5%, 82.1%, 0%, 56.1%)
CIE-LABlab(18.64, 39.27, -44.87)
CIE-LCHlch(18.64, 59.63, 311.19°)
OKLaboklab(31.65% 0.0668 -0.1285)
OKLCHoklch(31.65% 0.145 297.5)
XYZxyz(5.0985, 2.6622, 15.5713)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1470 #477014
analogous
#141970 #3D1470 #6B1470
triadic
#3D1470 #703D14 #14703D
tetradic
#3D1470 #701419 #477014 #14706B
square
#3D1470 #701419 #477014 #14706B
split-complementary
#3D1470 #706B14 #197014
monochromatic
#0E051A #210B3C #3D1470 #591DA4 #7627D8

Accessibility & contrast

On white

13.70
#3D1470 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#3D1470 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1470
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1470#FFFFFF#000000##FFFFFF
##3D14701.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E73
Deuteranopia (green-blind)
#002C6E
Tritanopia (blue-blind)
#302D42
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3d1470;
/* rgb */ color: rgb(61, 20, 112);
/* oklch */ color: oklch(31.6% 0.145 297.5);
Tailwind
colors: {
  custom: {
    50: '#78579a',
    500: '#3d1470',
    950: '#000000',
  },
}
SCSS
$custom: #3d1470;
$custom-light: #78579a;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1470",
  "rgb": {
    "r": 61,
    "g": 20,
    "b": 112
  },
  "hsl": {
    "h": 266.739,
    "s": 69.697,
    "l": 25.882
  },
  "oklch": {
    "l": 0.31649,
    "c": 0.1448,
    "h": 297.5
  },
  "luminance": 0.02662
}

Semantic roles & 50–950 ramp

primary
#3D1470
secondary
#76A639
accent
#ED3B9E
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #3D1470

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

Preview Lab → · Contrast checker → · Palette generator →

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