#3D19B4#3D19B4

#3D19B4 is a dark, highly saturated violet. Relative luminance 0.050; OKLCH L 39.4% C 0.217 H 280.4°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#3D19B4
RGBrgb(61, 25, 180)
HSLhsl(254, 76%, 40%)
HSVhsv(254, 86%, 71%)
CMYKcmyk(66.1%, 86.1%, 0%, 29.4%)
CIE-LABlab(26.68, 55.99, -73.80)
CIE-LCHlch(26.68, 92.64, 307.19°)
OKLaboklab(39.37% 0.0392 -0.213)
OKLCHoklch(39.37% 0.217 280.4)
XYZxyz(10.5077, 4.9818, 43.5790)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D19B4 #90B419
analogous
#1943B4 #3D19B4 #8A19B4
triadic
#3D19B4 #B43D19 #19B43D
tetradic
#3D19B4 #B41943 #90B419 #19B48A
square
#3D19B4 #B41943 #90B419 #19B48A
split-complementary
#3D19B4 #B48A19 #43B419
monochromatic
#190A49 #2B127E #3D19B4 #5429E1 #7F5FE9

Accessibility & contrast

On white

10.52
#3D19B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#3D19B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D19B4
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D19B4#FFFFFF#000000##FFFFFF
##3D19B41.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B8
Deuteranopia (green-blind)
#0039B1
Tritanopia (blue-blind)
#004C6B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3d19b4;
/* rgb */ color: rgb(61, 25, 180);
/* oklch */ color: oklch(39.4% 0.217 280.4);
Tailwind
colors: {
  custom: {
    50: '#845ecc',
    500: '#3d19b4',
    950: '#000000',
  },
}
SCSS
$custom: #3d19b4;
$custom-light: #845ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#3d19b4",
  "rgb": {
    "r": 61,
    "g": 25,
    "b": 180
  },
  "hsl": {
    "h": 253.935,
    "s": 75.61,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39368,
    "c": 0.21655,
    "h": 280.4
  },
  "luminance": 0.04983
}

Semantic roles & 50–950 ramp

primary
#3D19B4
secondary
#B3CD5C
accent
#F236C6
background
#F8F5FC
surface
#F0EAF9
border
#CBC6D2
text
#0D0514
muted
#7D7982

Preview Lab

Preview with #3D19B4

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

Preview Lab → · Contrast checker → · Palette generator →

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