#3A19BC#3A19BC

#3A19BC is a dark, highly saturated violet. Relative luminance 0.052; OKLCH L 40.0% C 0.226 H 278.1°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#3A19BC
RGBrgb(58, 25, 188)
HSLhsl(252, 77%, 42%)
HSVhsv(252, 87%, 74%)
CMYKcmyk(69.1%, 86.7%, 0%, 26.3%)
CIE-LABlab(27.37, 57.97, -77.43)
CIE-LCHlch(27.37, 96.73, 306.82°)
OKLaboklab(40.04% 0.0318 -0.2236)
OKLCHoklch(40.04% 0.226 278.1)
XYZxyz(11.1667, 5.2246, 47.9872)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A19BC #9BBC19
analogous
#194ABC #3A19BC #8C19BC
triadic
#3A19BC #BC3A19 #19BC3A
tetradic
#3A19BC #BC194A #9BBC19 #19BC8C
square
#3A19BC #BC194A #9BBC19 #19BC8C
split-complementary
#3A19BC #BC8C19 #4ABC19
monochromatic
#190B50 #291286 #3A19BC #532FE3 #8065EB

Accessibility & contrast

On white

10.27
#3A19BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#3A19BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A19BC
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A19BC#FFFFFF#000000##FFFFFF
##3A19BC1.0010.272.0510.27
#FFFFFF10.271.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047C0
Deuteranopia (green-blind)
#003AB9
Tritanopia (blue-blind)
#00506F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3a19bc;
/* rgb */ color: rgb(58, 25, 188);
/* oklch */ color: oklch(40.0% 0.226 278.1);
Tailwind
colors: {
  custom: {
    50: '#845fd2',
    500: '#3a19bc',
    950: '#000000',
  },
}
SCSS
$custom: #3a19bc;
$custom-light: #845fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a19bc",
  "rgb": {
    "r": 58,
    "g": 25,
    "b": 188
  },
  "hsl": {
    "h": 252.147,
    "s": 76.526,
    "l": 41.765
  },
  "oklch": {
    "l": 0.4004,
    "c": 0.22584,
    "h": 278.1
  },
  "luminance": 0.05226
}

Semantic roles & 50–950 ramp

primary
#3A19BC
secondary
#B9CF61
accent
#F335CD
background
#F9F5FD
surface
#F1EAFA
border
#CBC6D3
text
#0D0514
muted
#7E7983

Preview Lab

Preview with #3A19BC

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

Preview Lab → · Contrast checker → · Palette generator →

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