#3B19B3#3B19B3

#3B19B3 is a dark, highly saturated violet. Relative luminance 0.049; OKLCH L 39.1% C 0.216 H 279.7°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#3B19B3
RGBrgb(59, 25, 179)
HSLhsl(253, 75%, 40%)
HSVhsv(253, 86%, 70%)
CMYKcmyk(67%, 86%, 0%, 29.8%)
CIE-LABlab(26.39, 55.56, -73.70)
CIE-LCHlch(26.39, 92.30, 307.01°)
OKLaboklab(39.09% 0.0365 -0.2127)
OKLCHoklch(39.09% 0.216 279.7)
XYZxyz(10.2854, 4.8789, 43.0388)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B19B3 #91B319
analogous
#1944B3 #3B19B3 #8819B3
triadic
#3B19B3 #B33B19 #19B33B
tetradic
#3B19B3 #B31944 #91B319 #19B388
square
#3B19B3 #B31944 #91B319 #19B388
split-complementary
#3B19B3 #B38819 #44B319
monochromatic
#180A48 #29127D #3B19B3 #5128E1 #7D5EE8

Accessibility & contrast

On white

10.63
#3B19B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#3B19B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B19B3
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B19B3#FFFFFF#000000##FFFFFF
##3B19B31.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.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: #3b19b3;
/* rgb */ color: rgb(59, 25, 179);
/* oklch */ color: oklch(39.1% 0.216 279.7);
Tailwind
colors: {
  custom: {
    50: '#835ecb',
    500: '#3b19b3',
    950: '#000000',
  },
}
SCSS
$custom: #3b19b3;
$custom-light: #835ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#3b19b3",
  "rgb": {
    "r": 59,
    "g": 25,
    "b": 179
  },
  "hsl": {
    "h": 253.247,
    "s": 75.49,
    "l": 40
  },
  "oklch": {
    "l": 0.39088,
    "c": 0.21583,
    "h": 279.7
  },
  "luminance": 0.0488
}

Semantic roles & 50–950 ramp

primary
#3B19B3
secondary
#B4CC5B
accent
#F236C8
background
#F8F5FC
surface
#F0EAF9
border
#CBC6D2
text
#0C0514
muted
#7D7982

Preview Lab

Preview with #3B19B3

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

Preview Lab → · Contrast checker → · Palette generator →

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