#3920A7#3920A7

#3920A7 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.3% C 0.198 H 280.0°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#3920A7
RGBrgb(57, 32, 167)
HSLhsl(251, 68%, 39%)
HSVhsv(251, 81%, 65%)
CMYKcmyk(65.9%, 80.8%, 0%, 34.5%)
CIE-LABlab(25.84, 49.04, -67.40)
CIE-LCHlch(25.84, 83.35, 306.04°)
OKLaboklab(38.27% 0.0344 -0.1946)
OKLCHoklch(38.27% 0.198 280)
XYZxyz(9.1767, 4.6922, 36.9738)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3920A7 #8EA720
analogous
#204BA7 #3920A7 #7D20A7
triadic
#3920A7 #A73920 #20A739
tetradic
#3920A7 #A7204B #8EA720 #20A77D
square
#3920A7 #A7204B #8EA720 #20A77D
split-complementary
#3920A7 #A77D20 #4BA720
monochromatic
#160C40 #271674 #3920A7 #4D2DD7 #7861E1

Accessibility & contrast

On white

10.83
#3920A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#3920A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3920A7
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3920A7#FFFFFF#000000##FFFFFF
##3920A71.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AB
Deuteranopia (green-blind)
#0038A5
Tritanopia (blue-blind)
#004964
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3920a7;
/* rgb */ color: rgb(57, 32, 167);
/* oklch */ color: oklch(38.3% 0.198 280.0);
Tailwind
colors: {
  custom: {
    50: '#7f60c2',
    500: '#3920a7',
    950: '#000000',
  },
}
SCSS
$custom: #3920a7;
$custom-light: #7f60c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3920a7",
  "rgb": {
    "r": 57,
    "g": 32,
    "b": 167
  },
  "hsl": {
    "h": 251.111,
    "s": 67.839,
    "l": 39.02
  },
  "oklch": {
    "l": 0.3827,
    "c": 0.19759,
    "h": 280
  },
  "luminance": 0.04693
}

Semantic roles & 50–950 ramp

primary
#3920A7
secondary
#B2C55D
accent
#EB3DCB
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #3920A7

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

Preview Lab → · Contrast checker → · Palette generator →

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