#3D19A1#3D19A1

#3D19A1 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.3% C 0.196 H 283.6°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#3D19A1
RGBrgb(61, 25, 161)
HSLhsl(256, 73%, 36%)
HSVhsv(256, 84%, 63%)
CMYKcmyk(62.1%, 84.5%, 0%, 36.9%)
CIE-LABlab(24.51, 50.74, -65.94)
CIE-LCHlch(24.51, 83.20, 307.58°)
OKLaboklab(37.25% 0.0461 -0.1901)
OKLCHoklch(37.25% 0.196 283.6)
XYZxyz(8.7031, 4.2600, 34.0749)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D19A1 #7DA119
analogous
#1939A1 #3D19A1 #8119A1
triadic
#3D19A1 #A13D19 #19A13D
tetradic
#3D19A1 #A11939 #7DA119 #19A181
square
#3D19A1 #A11939 #7DA119 #19A181
split-complementary
#3D19A1 #A18119 #39A119
monochromatic
#150937 #29116C #3D19A1 #5121D6 #7850E4

Accessibility & contrast

On white

11.34
#3D19A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#3D19A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D19A1
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D19A1#FFFFFF#000000##FFFFFF
##3D19A11.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA5
Deuteranopia (green-blind)
#00369F
Tritanopia (blue-blind)
#00445F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3d19a1;
/* rgb */ color: rgb(61, 25, 161);
/* oklch */ color: oklch(37.3% 0.196 283.6);
Tailwind
colors: {
  custom: {
    50: '#805dbe',
    500: '#3d19a1',
    950: '#000000',
  },
}
SCSS
$custom: #3d19a1;
$custom-light: #805dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#3d19a1",
  "rgb": {
    "r": 61,
    "g": 25,
    "b": 161
  },
  "hsl": {
    "h": 255.882,
    "s": 73.118,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37252,
    "c": 0.19562,
    "h": 283.6
  },
  "luminance": 0.04261
}

Semantic roles & 50–950 ramp

primary
#3D19A1
secondary
#A7C64F
accent
#F038BF
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0412
muted
#7D7981

Preview Lab

Preview with #3D19A1

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

Preview Lab → · Contrast checker → · Palette generator →

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