#3A19A7#3A19A7

#3A19A7 is a dark, highly saturated violet. Relative luminance 0.044; OKLCH L 37.6% C 0.203 H 281.1°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#3A19A7
RGBrgb(58, 25, 167)
HSLhsl(254, 74%, 38%)
HSVhsv(254, 85%, 65%)
CMYKcmyk(65.3%, 85%, 0%, 34.5%)
CIE-LABlab(24.90, 52.14, -68.94)
CIE-LCHlch(24.90, 86.44, 307.10°)
OKLaboklab(37.65% 0.0392 -0.1989)
OKLCHoklch(37.65% 0.203 281.1)
XYZxyz(9.0654, 4.3841, 36.9202)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A19A7 #86A719
analogous
#193FA7 #3A19A7 #8119A7
triadic
#3A19A7 #A73A19 #19A73A
tetradic
#3A19A7 #A7193F #86A719 #19A781
square
#3A19A7 #A7193F #86A719 #19A781
split-complementary
#3A19A7 #A78119 #3FA719
monochromatic
#15093D #281172 #3A19A7 #4C21DC #7655E6

Accessibility & contrast

On white

11.19
#3A19A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#3A19A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A19A7
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A19A7#FFFFFF#000000##FFFFFF
##3A19A71.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040AB
Deuteranopia (green-blind)
#0036A5
Tritanopia (blue-blind)
#004763
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3a19a7;
/* rgb */ color: rgb(58, 25, 167);
/* oklch */ color: oklch(37.6% 0.203 281.1);
Tailwind
colors: {
  custom: {
    50: '#805dc3',
    500: '#3a19a7',
    950: '#000000',
  },
}
SCSS
$custom: #3a19a7;
$custom-light: #805dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a19a7",
  "rgb": {
    "r": 58,
    "g": 25,
    "b": 167
  },
  "hsl": {
    "h": 253.944,
    "s": 73.958,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37647,
    "c": 0.20276,
    "h": 281.1
  },
  "luminance": 0.04385
}

Semantic roles & 50–950 ramp

primary
#3A19A7
secondary
#ADC853
accent
#F137C6
background
#F8F5FC
surface
#F0E9F8
border
#CBC5D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #3A19A7

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

Preview Lab → · Contrast checker → · Palette generator →

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