#3921A7#3921A7

#3921A7 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.4% C 0.197 H 279.9°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#3921A7
RGBrgb(57, 33, 167)
HSLhsl(251, 67%, 39%)
HSVhsv(251, 80%, 65%)
CMYKcmyk(65.9%, 80.2%, 0%, 34.5%)
CIE-LABlab(26.00, 48.57, -67.13)
CIE-LCHlch(26.00, 82.85, 305.89°)
OKLaboklab(38.38% 0.0339 -0.1938)
OKLCHoklch(38.38% 0.197 279.9)
XYZxyz(9.2040, 4.7469, 36.9829)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3921A7 #8FA721
analogous
#214CA7 #3921A7 #7C21A7
triadic
#3921A7 #A73921 #21A739
tetradic
#3921A7 #A7214C #8FA721 #21A77C
square
#3921A7 #A7214C #8FA721 #21A77C
split-complementary
#3921A7 #A77C21 #4CA721
monochromatic
#160D41 #281774 #3921A7 #4D2FD6 #7962E0

Accessibility & contrast

On white

10.77
#3921A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#3921A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3921A7
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3921A7#FFFFFF#000000##FFFFFF
##3921A71.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AB
Deuteranopia (green-blind)
#0038A5
Tritanopia (blue-blind)
#004A64
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3921a7;
/* rgb */ color: rgb(57, 33, 167);
/* oklch */ color: oklch(38.4% 0.197 279.9);
Tailwind
colors: {
  custom: {
    50: '#7f61c2',
    500: '#3921a7',
    950: '#000000',
  },
}
SCSS
$custom: #3921a7;
$custom-light: #7f61c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3921a7",
  "rgb": {
    "r": 57,
    "g": 33,
    "b": 167
  },
  "hsl": {
    "h": 250.746,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.38383,
    "c": 0.19674,
    "h": 279.9
  },
  "luminance": 0.04748
}

Semantic roles & 50–950 ramp

primary
#3921A7
secondary
#B3C55F
accent
#EA3ECB
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #3921A7

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

Preview Lab → · Contrast checker → · Palette generator →

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