#3822A0#3822A0

#3822A0 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.7% C 0.188 H 280.4°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#3822A0
RGBrgb(56, 34, 160)
HSLhsl(250, 65%, 38%)
HSVhsv(250, 79%, 63%)
CMYKcmyk(65%, 78.8%, 0%, 37.3%)
CIE-LABlab(25.33, 45.86, -64.00)
CIE-LCHlch(25.33, 78.73, 305.63°)
OKLaboklab(37.67% 0.0339 -0.1847)
OKLCHoklch(37.67% 0.188 280.4)
XYZxyz(8.5461, 4.5222, 33.6734)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3822A0 #8AA022
analogous
#224BA0 #3822A0 #7722A0
triadic
#3822A0 #A03822 #22A038
tetradic
#3822A0 #A0224B #8AA022 #22A077
square
#3822A0 #A0224B #8AA022 #22A077
split-complementary
#3822A0 #A07722 #4BA022
monochromatic
#150D3B #26176E #3822A0 #4A2DD2 #755FDD

Accessibility & contrast

On white

11.03
#3822A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#3822A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3822A0
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3822A0#FFFFFF#000000##FFFFFF
##3822A01.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)
#0040A4
Deuteranopia (green-blind)
#00379E
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3822a0;
/* rgb */ color: rgb(56, 34, 160);
/* oklch */ color: oklch(37.7% 0.188 280.4);
Tailwind
colors: {
  custom: {
    50: '#7d61bd',
    500: '#3822a0',
    950: '#000000',
  },
}
SCSS
$custom: #3822a0;
$custom-light: #7d61bd;
$custom-dark: #000000;
JSON
{
  "hex": "#3822a0",
  "rgb": {
    "r": 56,
    "g": 34,
    "b": 160
  },
  "hsl": {
    "h": 250.476,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37668,
    "c": 0.1878,
    "h": 280.4
  },
  "luminance": 0.04523
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3822A0

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

Preview Lab → · Contrast checker → · Palette generator →

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