#3B19A0#3B19A0

#3B19A0 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 37.0% C 0.195 H 282.8°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#3B19A0
RGBrgb(59, 25, 160)
HSLhsl(255, 73%, 36%)
HSVhsv(255, 84%, 63%)
CMYKcmyk(63.1%, 84.4%, 0%, 37.3%)
CIE-LABlab(24.20, 50.27, -65.85)
CIE-LCHlch(24.20, 82.84, 307.36°)
OKLaboklab(36.96% 0.0433 -0.1899)
OKLCHoklch(36.96% 0.195 282.8)
XYZxyz(8.4945, 4.1625, 33.6067)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B19A0 #7EA019
analogous
#193BA0 #3B19A0 #7F19A0
triadic
#3B19A0 #A03B19 #19A03B
tetradic
#3B19A0 #A0193B #7EA019 #19A07F
square
#3B19A0 #A0193B #7EA019 #19A07F
split-complementary
#3B19A0 #A07F19 #3BA019
monochromatic
#140836 #27116B #3B19A0 #4F21D5 #7550E4

Accessibility & contrast

On white

11.46
#3B19A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#3B19A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B19A0
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B19A0#FFFFFF#000000##FFFFFF
##3B19A01.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3b19a0;
/* rgb */ color: rgb(59, 25, 160);
/* oklch */ color: oklch(37.0% 0.195 282.8);
Tailwind
colors: {
  custom: {
    50: '#7f5dbd',
    500: '#3b19a0',
    950: '#000000',
  },
}
SCSS
$custom: #3b19a0;
$custom-light: #7f5dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#3b19a0",
  "rgb": {
    "r": 59,
    "g": 25,
    "b": 160
  },
  "hsl": {
    "h": 255.111,
    "s": 72.973,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36957,
    "c": 0.19478,
    "h": 282.8
  },
  "luminance": 0.04163
}

Semantic roles & 50–950 ramp

primary
#3B19A0
secondary
#A8C64F
accent
#F038C1
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #3B19A0

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

Preview Lab → · Contrast checker → · Palette generator →

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