#3819B3#3819B3

#3819B3 is a dark, highly saturated violet. Relative luminance 0.048; OKLCH L 38.8% C 0.216 H 278.5°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#3819B3
RGBrgb(56, 25, 179)
HSLhsl(252, 75%, 40%)
HSVhsv(252, 86%, 70%)
CMYKcmyk(68.7%, 86%, 0%, 29.8%)
CIE-LABlab(26.13, 55.34, -74.14)
CIE-LCHlch(26.13, 92.51, 306.74°)
OKLaboklab(38.85% 0.0319 -0.2141)
OKLCHoklch(38.85% 0.216 278.5)
XYZxyz(10.1126, 4.7898, 43.0307)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3819B3 #94B319
analogous
#1947B3 #3819B3 #8519B3
triadic
#3819B3 #B33819 #19B338
tetradic
#3819B3 #B31947 #94B319 #19B385
square
#3819B3 #B31947 #94B319 #19B385
split-complementary
#3819B3 #B38519 #47B319
monochromatic
#160A48 #27127D #3819B3 #4D28E1 #7A5EE8

Accessibility & contrast

On white

10.72
#3819B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#3819B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3819B3
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3819B3#FFFFFF#000000##FFFFFF
##3819B31.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3819b3;
/* rgb */ color: rgb(56, 25, 179);
/* oklch */ color: oklch(38.8% 0.216 278.5);
Tailwind
colors: {
  custom: {
    50: '#825ecb',
    500: '#3819b3',
    950: '#000000',
  },
}
SCSS
$custom: #3819b3;
$custom-light: #825ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#3819b3",
  "rgb": {
    "r": 56,
    "g": 25,
    "b": 179
  },
  "hsl": {
    "h": 252.078,
    "s": 75.49,
    "l": 40
  },
  "oklch": {
    "l": 0.38847,
    "c": 0.21643,
    "h": 278.5
  },
  "luminance": 0.04791
}

Semantic roles & 50–950 ramp

primary
#3819B3
secondary
#B6CC5B
accent
#F236CC
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0C0514
muted
#7D7982

Preview Lab

Preview with #3819B3

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

Preview Lab → · Contrast checker → · Palette generator →

#3819B3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva