#3921A4#3921A4

#3921A4 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.1% C 0.193 H 280.4°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#3921A4
RGBrgb(57, 33, 164)
HSLhsl(251, 66%, 39%)
HSVhsv(251, 80%, 64%)
CMYKcmyk(65.2%, 79.9%, 0%, 35.7%)
CIE-LABlab(25.68, 47.67, -65.85)
CIE-LCHlch(25.68, 81.29, 305.90°)
OKLaboklab(38.06% 0.0348 -0.1901)
OKLCHoklch(38.06% 0.193 280.4)
XYZxyz(8.9299, 4.6372, 35.5392)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3921A4 #8CA421
analogous
#214BA4 #3921A4 #7A21A4
triadic
#3921A4 #A43921 #21A439
tetradic
#3921A4 #A4214B #8CA421 #21A47A
square
#3921A4 #A4214B #8CA421 #21A47A
split-complementary
#3921A4 #A47A21 #4BA421
monochromatic
#160C3E #271771 #3921A4 #4C2DD5 #7860DF

Accessibility & contrast

On white

10.89
#3921A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#3921A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3921A4
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3921A4#FFFFFF#000000##FFFFFF
##3921A41.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A8
Deuteranopia (green-blind)
#0038A2
Tritanopia (blue-blind)
#004963
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3921a4;
/* rgb */ color: rgb(57, 33, 164);
/* oklch */ color: oklch(38.1% 0.193 280.4);
Tailwind
colors: {
  custom: {
    50: '#7e61c0',
    500: '#3921a4',
    950: '#000000',
  },
}
SCSS
$custom: #3921a4;
$custom-light: #7e61c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3921a4",
  "rgb": {
    "r": 57,
    "g": 33,
    "b": 164
  },
  "hsl": {
    "h": 250.992,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.3806,
    "c": 0.19324,
    "h": 280.4
  },
  "luminance": 0.04638
}

Semantic roles & 50–950 ramp

primary
#3921A4
secondary
#B1C45D
accent
#E93ECA
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3921A4

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

Preview Lab → · Contrast checker → · Palette generator →

#3921A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva