#3820A3#3820A3

#3820A3 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.8% C 0.193 H 280.2°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#3820A3
RGBrgb(56, 32, 163)
HSLhsl(251, 67%, 38%)
HSVhsv(251, 80%, 64%)
CMYKcmyk(65.6%, 80.4%, 0%, 36.1%)
CIE-LABlab(25.31, 47.75, -65.84)
CIE-LCHlch(25.31, 81.33, 305.95°)
OKLaboklab(37.75% 0.0341 -0.1901)
OKLCHoklch(37.75% 0.193 280.2)
XYZxyz(8.7562, 4.5174, 35.0538)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3820A3 #8BA320
analogous
#204AA3 #3820A3 #7920A3
triadic
#3820A3 #A33820 #20A338
tetradic
#3820A3 #A3204A #8BA320 #20A379
square
#3820A3 #A3204A #8BA320 #20A379
split-complementary
#3820A3 #A37920 #4AA320
monochromatic
#150C3D #261670 #3820A3 #4A2BD5 #765EDF

Accessibility & contrast

On white

11.03
#3820A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#3820A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3820A3#FFFFFF#000000##FFFFFF
##3820A31.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A7
Deuteranopia (green-blind)
#0037A1
Tritanopia (blue-blind)
#004862
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3820a3;
/* rgb */ color: rgb(56, 32, 163);
/* oklch */ color: oklch(37.8% 0.193 280.2);
Tailwind
colors: {
  custom: {
    50: '#7e60c0',
    500: '#3820a3',
    950: '#000000',
  },
}
SCSS
$custom: #3820a3;
$custom-light: #7e60c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3820a3",
  "rgb": {
    "r": 56,
    "g": 32,
    "b": 163
  },
  "hsl": {
    "h": 250.992,
    "s": 67.179,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37754,
    "c": 0.19312,
    "h": 280.2
  },
  "luminance": 0.04518
}

Semantic roles & 50–950 ramp

primary
#3820A3
secondary
#B1C45B
accent
#EA3ECA
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3820A3

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

Preview Lab → · Contrast checker → · Palette generator →

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