#3D1973#3D1973

#3D1973 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.5% C 0.143 H 295.5°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#3D1973
RGBrgb(61, 25, 115)
HSLhsl(264, 64%, 27%)
HSVhsv(264, 78%, 45%)
CMYKcmyk(47%, 78.3%, 0%, 54.9%)
CIE-LABlab(19.74, 37.75, -45.00)
CIE-LCHlch(19.74, 58.74, 309.99°)
OKLaboklab(32.51% 0.0614 -0.1289)
OKLCHoklch(32.51% 0.143 295.5)
XYZxyz(5.3658, 2.9250, 16.4982)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1973 #4F7319
analogous
#192273 #3D1973 #6A1973
triadic
#3D1973 #733D19 #19733D
tetradic
#3D1973 #731922 #4F7319 #19736A
square
#3D1973 #731922 #4F7319 #19736A
split-complementary
#3D1973 #736A19 #227319
monochromatic
#0D0519 #220E41 #3D1973 #5824A5 #7334D3

Accessibility & contrast

On white

13.25
#3D1973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#3D1973 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1973
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1973#FFFFFF#000000##FFFFFF
##3D19731.0013.251.5913.25
#FFFFFF13.251.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3d1973;
/* rgb */ color: rgb(61, 25, 115);
/* oklch */ color: oklch(32.5% 0.143 295.5);
Tailwind
colors: {
  custom: {
    50: '#795a9c',
    500: '#3d1973',
    950: '#000000',
  },
}
SCSS
$custom: #3d1973;
$custom-light: #795a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1973",
  "rgb": {
    "r": 61,
    "g": 25,
    "b": 115
  },
  "hsl": {
    "h": 264,
    "s": 64.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.3251,
    "c": 0.1428,
    "h": 295.5
  },
  "luminance": 0.02925
}

Semantic roles & 50–950 ramp

primary
#3D1973
secondary
#7EA840
accent
#E741A5
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #3D1973

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

Preview Lab → · Contrast checker → · Palette generator →

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