#3820AD#3820AD

#3820AD is a dark, highly saturated violet. Relative luminance 0.049; OKLCH L 38.8% C 0.205 H 278.7°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#3820AD
RGBrgb(56, 32, 173)
HSLhsl(250, 69%, 40%)
HSVhsv(250, 82%, 68%)
CMYKcmyk(67.6%, 81.5%, 0%, 32.2%)
CIE-LABlab(26.42, 50.72, -70.06)
CIE-LCHlch(26.42, 86.49, 305.90°)
OKLaboklab(38.85% 0.0311 -0.2023)
OKLCHoklch(38.85% 0.205 278.7)
XYZxyz(9.6878, 4.8901, 39.9604)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3820AD #95AD20
analogous
#204EAD #3820AD #7F20AD
triadic
#3820AD #AD3820 #20AD38
tetradic
#3820AD #AD204E #95AD20 #20AD7F
square
#3820AD #AD204E #95AD20 #20AD7F
split-complementary
#3820AD #AD7F20 #4EAD20
monochromatic
#170D46 #271679 #3820AD #4E31D9 #7A65E2

Accessibility & contrast

On white

10.62
#3820AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#3820AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3820AD
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3820AD#FFFFFF#000000##FFFFFF
##3820AD1.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B1
Deuteranopia (green-blind)
#0039AB
Tritanopia (blue-blind)
#004C68
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3820ad;
/* rgb */ color: rgb(56, 32, 173);
/* oklch */ color: oklch(38.8% 0.205 278.7);
Tailwind
colors: {
  custom: {
    50: '#8061c7',
    500: '#3820ad',
    950: '#000000',
  },
}
SCSS
$custom: #3820ad;
$custom-light: #8061c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3820ad",
  "rgb": {
    "r": 56,
    "g": 32,
    "b": 173
  },
  "hsl": {
    "h": 250.213,
    "s": 68.78,
    "l": 40.196
  },
  "oklch": {
    "l": 0.38846,
    "c": 0.20471,
    "h": 278.7
  },
  "luminance": 0.04891
}

Semantic roles & 50–950 ramp

primary
#3820AD
secondary
#B6C861
accent
#EC3CCE
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #3820AD

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

Preview Lab → · Contrast checker → · Palette generator →

#3820AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva