#3A19B3#3A19B3

#3A19B3 is a dark, highly saturated violet. Relative luminance 0.048; OKLCH L 39.0% C 0.216 H 279.3°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#3A19B3
RGBrgb(58, 25, 179)
HSLhsl(253, 75%, 40%)
HSVhsv(253, 86%, 70%)
CMYKcmyk(67.6%, 86%, 0%, 29.8%)
CIE-LABlab(26.30, 55.49, -73.85)
CIE-LCHlch(26.30, 92.37, 306.92°)
OKLaboklab(39.01% 0.0349 -0.2132)
OKLCHoklch(39.01% 0.216 279.3)
XYZxyz(10.2266, 4.8486, 43.0360)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A19B3 #92B319
analogous
#1945B3 #3A19B3 #8719B3
triadic
#3A19B3 #B33A19 #19B33A
tetradic
#3A19B3 #B31945 #92B319 #19B387
square
#3A19B3 #B31945 #92B319 #19B387
split-complementary
#3A19B3 #B38719 #45B319
monochromatic
#170A48 #29127D #3A19B3 #5028E1 #7C5EE8

Accessibility & contrast

On white

10.66
#3A19B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#3A19B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A19B3
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A19B3#FFFFFF#000000##FFFFFF
##3A19B31.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B7
Deuteranopia (green-blind)
#0038B0
Tritanopia (blue-blind)
#004C6A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3a19b3;
/* rgb */ color: rgb(58, 25, 179);
/* oklch */ color: oklch(39.0% 0.216 279.3);
Tailwind
colors: {
  custom: {
    50: '#835ecb',
    500: '#3a19b3',
    950: '#000000',
  },
}
SCSS
$custom: #3a19b3;
$custom-light: #835ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#3a19b3",
  "rgb": {
    "r": 58,
    "g": 25,
    "b": 179
  },
  "hsl": {
    "h": 252.857,
    "s": 75.49,
    "l": 40
  },
  "oklch": {
    "l": 0.39007,
    "c": 0.21602,
    "h": 279.3
  },
  "luminance": 0.04849
}

Semantic roles & 50–950 ramp

primary
#3A19B3
secondary
#B4CC5B
accent
#F236CA
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0C0514
muted
#7D7982

Preview Lab

Preview with #3A19B3

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

Preview Lab → · Contrast checker → · Palette generator →

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