#3B19A1#3B19A1

#3B19A1 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 37.1% C 0.196 H 282.7°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#3B19A1
RGBrgb(59, 25, 161)
HSLhsl(255, 73%, 36%)
HSVhsv(255, 84%, 63%)
CMYKcmyk(63.4%, 84.5%, 0%, 36.9%)
CIE-LABlab(24.31, 50.55, -66.27)
CIE-LCHlch(24.31, 83.35, 307.33°)
OKLaboklab(37.07% 0.0429 -0.1911)
OKLCHoklch(37.07% 0.196 282.7)
XYZxyz(8.5823, 4.1977, 34.0693)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B19A1 #7FA119
analogous
#193BA1 #3B19A1 #7F19A1
triadic
#3B19A1 #A13B19 #19A13B
tetradic
#3B19A1 #A1193B #7FA119 #19A17F
square
#3B19A1 #A1193B #7FA119 #19A17F
split-complementary
#3B19A1 #A17F19 #3BA119
monochromatic
#140937 #28116C #3B19A1 #4E21D6 #7550E4

Accessibility & contrast

On white

11.42
#3B19A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#3B19A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B19A1
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B19A1#FFFFFF#000000##FFFFFF
##3B19A11.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3b19a1;
/* rgb */ color: rgb(59, 25, 161);
/* oklch */ color: oklch(37.1% 0.196 282.7);
Tailwind
colors: {
  custom: {
    50: '#7f5dbe',
    500: '#3b19a1',
    950: '#000000',
  },
}
SCSS
$custom: #3b19a1;
$custom-light: #7f5dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#3b19a1",
  "rgb": {
    "r": 59,
    "g": 25,
    "b": 161
  },
  "hsl": {
    "h": 255,
    "s": 73.118,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37068,
    "c": 0.1959,
    "h": 282.7
  },
  "luminance": 0.04198
}

Semantic roles & 50–950 ramp

primary
#3B19A1
secondary
#A9C64F
accent
#F038C2
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #3B19A1

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

Preview Lab → · Contrast checker → · Palette generator →

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