#3820AA#3820AA

#3820AA is a dark, highly saturated violet. Relative luminance 0.048; OKLCH L 38.5% C 0.201 H 279.2°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#3820AA
RGBrgb(56, 32, 170)
HSLhsl(250, 68%, 40%)
HSVhsv(250, 81%, 67%)
CMYKcmyk(67.1%, 81.2%, 0%, 33.3%)
CIE-LABlab(26.08, 49.83, -68.80)
CIE-LCHlch(26.08, 84.95, 305.91°)
OKLaboklab(38.52% 0.032 -0.1987)
OKLCHoklch(38.52% 0.201 279.2)
XYZxyz(9.4008, 4.7753, 38.4487)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3820AA #92AA20
analogous
#204DAA #3820AA #7D20AA
triadic
#3820AA #AA3820 #20AA38
tetradic
#3820AA #AA204D #92AA20 #20AA7D
square
#3820AA #AA204D #92AA20 #20AA7D
split-complementary
#3820AA #AA7D20 #4DAA20
monochromatic
#160D43 #271676 #3820AA #4D2FD8 #7963E2

Accessibility & contrast

On white

10.74
#3820AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##3820AA#FFFFFF#000000##FFFFFF
##3820AA1.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3820aa;
/* rgb */ color: rgb(56, 32, 170);
/* oklch */ color: oklch(38.5% 0.201 279.2);
Tailwind
colors: {
  custom: {
    50: '#7f60c5',
    500: '#3820aa',
    950: '#000000',
  },
}
SCSS
$custom: #3820aa;
$custom-light: #7f60c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3820aa",
  "rgb": {
    "r": 56,
    "g": 32,
    "b": 170
  },
  "hsl": {
    "h": 250.435,
    "s": 68.317,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38516,
    "c": 0.20125,
    "h": 279.2
  },
  "luminance": 0.04776
}

Semantic roles & 50–950 ramp

primary
#3820AA
secondary
#B5C75F
accent
#EB3DCD
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #3820AA

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

Preview Lab → · Contrast checker → · Palette generator →

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