#3822A1#3822A1

#3822A1 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.8% C 0.189 H 280.2°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#3822A1
RGBrgb(56, 34, 161)
HSLhsl(250, 65%, 38%)
HSVhsv(250, 79%, 63%)
CMYKcmyk(65.2%, 78.9%, 0%, 36.9%)
CIE-LABlab(25.43, 46.17, -64.43)
CIE-LCHlch(25.43, 79.26, 305.62°)
OKLaboklab(37.77% 0.0336 -0.186)
OKLCHoklch(37.77% 0.189 280.2)
XYZxyz(8.6339, 4.5573, 34.1360)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3822A1 #8BA122
analogous
#224BA1 #3822A1 #7722A1
triadic
#3822A1 #A13822 #22A138
tetradic
#3822A1 #A1224B #8BA122 #22A177
square
#3822A1 #A1224B #8BA122 #22A177
split-complementary
#3822A1 #A17722 #4BA122
monochromatic
#150D3C #26176E #3822A1 #4A2DD3 #7660DD

Accessibility & contrast

On white

10.99
#3822A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#3822A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3822A1
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3822A1#FFFFFF#000000##FFFFFF
##3822A11.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A5
Deuteranopia (green-blind)
#00379F
Tritanopia (blue-blind)
#004861
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3822a1;
/* rgb */ color: rgb(56, 34, 161);
/* oklch */ color: oklch(37.8% 0.189 280.2);
Tailwind
colors: {
  custom: {
    50: '#7d61be',
    500: '#3822a1',
    950: '#000000',
  },
}
SCSS
$custom: #3822a1;
$custom-light: #7d61be;
$custom-dark: #000000;
JSON
{
  "hex": "#3822a1",
  "rgb": {
    "r": 56,
    "g": 34,
    "b": 161
  },
  "hsl": {
    "h": 250.394,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37774,
    "c": 0.18899,
    "h": 280.2
  },
  "luminance": 0.04558
}

Semantic roles & 50–950 ramp

primary
#3822A1
secondary
#B1C25D
accent
#E840CB
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3822A1

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

Preview Lab → · Contrast checker → · Palette generator →

#3822A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva