#3922A7#3922A7

#3922A7 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.5% C 0.196 H 279.8°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#3922A7
RGBrgb(57, 34, 167)
HSLhsl(250, 66%, 39%)
HSVhsv(250, 80%, 65%)
CMYKcmyk(65.9%, 79.6%, 0%, 34.5%)
CIE-LABlab(26.17, 48.09, -66.85)
CIE-LCHlch(26.17, 82.35, 305.73°)
OKLaboklab(38.5% 0.0334 -0.193)
OKLCHoklch(38.5% 0.196 279.8)
XYZxyz(9.2322, 4.8032, 36.9923)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3922A7 #90A722
analogous
#224EA7 #3922A7 #7C22A7
triadic
#3922A7 #A73922 #22A739
tetradic
#3922A7 #A7224E #90A722 #22A77C
square
#3922A7 #A7224E #90A722 #22A77C
split-complementary
#3922A7 #A77C22 #4EA722
monochromatic
#160D41 #281874 #3922A7 #4D31D5 #7964DF

Accessibility & contrast

On white

10.71
#3922A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#3922A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3922A7
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3922A7#FFFFFF#000000##FFFFFF
##3922A71.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3922a7;
/* rgb */ color: rgb(57, 34, 167);
/* oklch */ color: oklch(38.5% 0.196 279.8);
Tailwind
colors: {
  custom: {
    50: '#7f61c2',
    500: '#3922a7',
    950: '#000000',
  },
}
SCSS
$custom: #3922a7;
$custom-light: #7f61c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3922a7",
  "rgb": {
    "r": 57,
    "g": 34,
    "b": 167
  },
  "hsl": {
    "h": 250.376,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.38498,
    "c": 0.19588,
    "h": 279.8
  },
  "luminance": 0.04804
}

Semantic roles & 50–950 ramp

primary
#3922A7
secondary
#B3C560
accent
#E93FCC
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #3922A7

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

Preview Lab → · Contrast checker → · Palette generator →

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