#3820A0#3820A0

#3820A0 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.4% C 0.190 H 280.6°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#3820A0
RGBrgb(56, 32, 160)
HSLhsl(251, 67%, 38%)
HSVhsv(251, 80%, 63%)
CMYKcmyk(65%, 80%, 0%, 37.3%)
CIE-LABlab(24.99, 46.85, -64.56)
CIE-LCHlch(24.99, 79.76, 305.97°)
OKLaboklab(37.43% 0.035 -0.1863)
OKLCHoklch(37.43% 0.19 280.6)
XYZxyz(8.4906, 4.4112, 33.6549)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3820A0 #88A020
analogous
#2048A0 #3820A0 #7820A0
triadic
#3820A0 #A03820 #20A038
tetradic
#3820A0 #A02048 #88A020 #20A078
square
#3820A0 #A02048 #88A020 #20A078
split-complementary
#3820A0 #A07820 #48A020
monochromatic
#140C3A #26166D #3820A0 #4A2AD3 #745CDE

Accessibility & contrast

On white

11.16
#3820A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#3820A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3820A0
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3820A0#FFFFFF#000000##FFFFFF
##3820A01.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A4
Deuteranopia (green-blind)
#00369E
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3820a0;
/* rgb */ color: rgb(56, 32, 160);
/* oklch */ color: oklch(37.4% 0.190 280.6);
Tailwind
colors: {
  custom: {
    50: '#7d60bd',
    500: '#3820a0',
    950: '#000000',
  },
}
SCSS
$custom: #3820a0;
$custom-light: #7d60bd;
$custom-dark: #000000;
JSON
{
  "hex": "#3820a0",
  "rgb": {
    "r": 56,
    "g": 32,
    "b": 160
  },
  "hsl": {
    "h": 251.25,
    "s": 66.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37431,
    "c": 0.18959,
    "h": 280.6
  },
  "luminance": 0.04412
}

Semantic roles & 50–950 ramp

primary
#3820A0
secondary
#AFC359
accent
#EA3EC9
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3820A0

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

Preview Lab → · Contrast checker → · Palette generator →

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