#3822A3#3822A3

#3822A3 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.0% C 0.191 H 279.9°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#3822A3
RGBrgb(56, 34, 163)
HSLhsl(250, 65%, 39%)
HSVhsv(250, 79%, 64%)
CMYKcmyk(65.6%, 79.1%, 0%, 36.1%)
CIE-LABlab(25.65, 46.78, -65.29)
CIE-LCHlch(25.65, 80.32, 305.62°)
OKLaboklab(37.99% 0.033 -0.1885)
OKLCHoklch(37.99% 0.191 279.9)
XYZxyz(8.8117, 4.6284, 35.0723)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3822A3 #8DA322
analogous
#224CA3 #3822A3 #7822A3
triadic
#3822A3 #A33822 #22A338
tetradic
#3822A3 #A3224C #8DA322 #22A378
square
#3822A3 #A3224C #8DA322 #22A378
split-complementary
#3822A3 #A37822 #4CA322
monochromatic
#150D3E #271770 #3822A3 #4B2FD4 #7761DE

Accessibility & contrast

On white

10.90
#3822A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#3822A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3822A3
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3822A3#FFFFFF#000000##FFFFFF
##3822A31.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A7
Deuteranopia (green-blind)
#0038A1
Tritanopia (blue-blind)
#004962
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3822a3;
/* rgb */ color: rgb(56, 34, 163);
/* oklch */ color: oklch(38.0% 0.191 279.9);
Tailwind
colors: {
  custom: {
    50: '#7e61c0',
    500: '#3822a3',
    950: '#000000',
  },
}
SCSS
$custom: #3822a3;
$custom-light: #7e61c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3822a3",
  "rgb": {
    "r": 56,
    "g": 34,
    "b": 163
  },
  "hsl": {
    "h": 250.233,
    "s": 65.482,
    "l": 38.627
  },
  "oklch": {
    "l": 0.37988,
    "c": 0.19136,
    "h": 279.9
  },
  "luminance": 0.04629
}

Semantic roles & 50–950 ramp

primary
#3822A3
secondary
#B2C35E
accent
#E83FCC
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3822A3

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

Preview Lab → · Contrast checker → · Palette generator →

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