#3D1970#3D1970

#3D1970 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.2% C 0.139 H 296.5°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#3D1970
RGBrgb(61, 25, 112)
HSLhsl(265, 64%, 27%)
HSVhsv(265, 78%, 44%)
CMYKcmyk(45.5%, 77.7%, 0%, 56.1%)
CIE-LABlab(19.46, 36.91, -43.52)
CIE-LCHlch(19.46, 57.06, 310.30°)
OKLaboklab(32.23% 0.0622 -0.1246)
OKLCHoklch(32.23% 0.139 296.5)
XYZxyz(5.1960, 2.8571, 15.6038)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1970 #4C7019
analogous
#192070 #3D1970 #691970
triadic
#3D1970 #703D19 #19703D
tetradic
#3D1970 #701920 #4C7019 #197069
square
#3D1970 #701920 #4C7019 #197069
split-complementary
#3D1970 #706919 #207019
monochromatic
#0E0619 #220E3E #3D1970 #5824A2 #7432D1

Accessibility & contrast

On white

13.36
#3D1970 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D1970
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1970#FFFFFF#000000##FFFFFF
##3D19701.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003072
Deuteranopia (green-blind)
#002E6E
Tritanopia (blue-blind)
#2F3043
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3d1970;
/* rgb */ color: rgb(61, 25, 112);
/* oklch */ color: oklch(32.2% 0.139 296.5);
Tailwind
colors: {
  custom: {
    50: '#785a9a',
    500: '#3d1970',
    950: '#000000',
  },
}
SCSS
$custom: #3d1970;
$custom-light: #785a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1970",
  "rgb": {
    "r": 61,
    "g": 25,
    "b": 112
  },
  "hsl": {
    "h": 264.828,
    "s": 63.504,
    "l": 26.863
  },
  "oklch": {
    "l": 0.32228,
    "c": 0.13924,
    "h": 296.5
  },
  "luminance": 0.02857
}

Semantic roles & 50–950 ramp

primary
#3D1970
secondary
#7BA540
accent
#E741A2
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #3D1970

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

Preview Lab → · Contrast checker → · Palette generator →

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