#3820AB#3820AB

#3820AB is a dark, highly saturated violet. Relative luminance 0.048; OKLCH L 38.6% C 0.202 H 279.0°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#3820AB
RGBrgb(56, 32, 171)
HSLhsl(250, 68%, 40%)
HSVhsv(250, 81%, 67%)
CMYKcmyk(67.3%, 81.3%, 0%, 32.9%)
CIE-LABlab(26.20, 50.13, -69.22)
CIE-LCHlch(26.20, 85.47, 305.91°)
OKLaboklab(38.63% 0.0317 -0.1999)
OKLCHoklch(38.63% 0.202 279)
XYZxyz(9.4957, 4.8133, 38.9488)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3820AB #93AB20
analogous
#204DAB #3820AB #7E20AB
triadic
#3820AB #AB3820 #20AB38
tetradic
#3820AB #AB204D #93AB20 #20AB7E
square
#3820AB #AB204D #93AB20 #20AB7E
split-complementary
#3820AB #AB7E20 #4DAB20
monochromatic
#160D44 #271677 #3820AB #4D30D8 #7963E2

Accessibility & contrast

On white

10.70
#3820AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#3820AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3820AB
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3820AB#FFFFFF#000000##FFFFFF
##3820AB1.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AF
Deuteranopia (green-blind)
#0038A9
Tritanopia (blue-blind)
#004B66
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3820ab;
/* rgb */ color: rgb(56, 32, 171);
/* oklch */ color: oklch(38.6% 0.202 279.0);
Tailwind
colors: {
  custom: {
    50: '#8061c5',
    500: '#3820ab',
    950: '#000000',
  },
}
SCSS
$custom: #3820ab;
$custom-light: #8061c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3820ab",
  "rgb": {
    "r": 56,
    "g": 32,
    "b": 171
  },
  "hsl": {
    "h": 250.36,
    "s": 68.473,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38626,
    "c": 0.20241,
    "h": 279
  },
  "luminance": 0.04814
}

Semantic roles & 50–950 ramp

primary
#3820AB
secondary
#B5C760
accent
#EB3CCD
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #3820AB

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

Preview Lab → · Contrast checker → · Palette generator →

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