#3922A1#3922A1

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

Color values

HEX#3922A1
RGBrgb(57, 34, 161)
HSLhsl(251, 65%, 38%)
HSVhsv(251, 79%, 63%)
CMYKcmyk(64.6%, 78.9%, 0%, 36.9%)
CIE-LABlab(25.52, 46.28, -64.28)
CIE-LCHlch(25.52, 79.20, 305.75°)
OKLaboklab(37.86% 0.0351 -0.1855)
OKLCHoklch(37.86% 0.189 280.7)
XYZxyz(8.6904, 4.5865, 34.1386)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3922A1 #8AA122
analogous
#224AA1 #3922A1 #7822A1
triadic
#3922A1 #A13922 #22A139
tetradic
#3922A1 #A1224A #8AA122 #22A178
square
#3922A1 #A1224A #8AA122 #22A178
split-complementary
#3922A1 #A17822 #4AA122
monochromatic
#150D3C #27176E #3922A1 #4B2DD3 #7760DD

Accessibility & contrast

On white

10.95
#3922A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#3922A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3922A1
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3922A1#FFFFFF#000000##FFFFFF
##3922A11.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3922a1;
/* rgb */ color: rgb(57, 34, 161);
/* oklch */ color: oklch(37.9% 0.189 280.7);
Tailwind
colors: {
  custom: {
    50: '#7e61be',
    500: '#3922a1',
    950: '#000000',
  },
}
SCSS
$custom: #3922a1;
$custom-light: #7e61be;
$custom-dark: #000000;
JSON
{
  "hex": "#3922a1",
  "rgb": {
    "r": 57,
    "g": 34,
    "b": 161
  },
  "hsl": {
    "h": 250.866,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37858,
    "c": 0.18881,
    "h": 280.7
  },
  "luminance": 0.04587
}

Semantic roles & 50–950 ramp

primary
#3922A1
secondary
#B0C25D
accent
#E840CA
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3922A1

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

Preview Lab → · Contrast checker → · Palette generator →

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