#3922A8#3922A8

#3922A8 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.6% C 0.197 H 279.7°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#3922A8
RGBrgb(57, 34, 168)
HSLhsl(250, 66%, 40%)
HSVhsv(250, 80%, 66%)
CMYKcmyk(66.1%, 79.8%, 0%, 34.1%)
CIE-LABlab(26.27, 48.39, -67.28)
CIE-LCHlch(26.27, 82.87, 305.72°)
OKLaboklab(38.61% 0.0331 -0.1943)
OKLCHoklch(38.61% 0.197 279.7)
XYZxyz(9.3250, 4.8403, 37.4811)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3922A8 #91A822
analogous
#224EA8 #3922A8 #7C22A8
triadic
#3922A8 #A83922 #22A839
tetradic
#3922A8 #A8224E #91A822 #22A87C
square
#3922A8 #A8224E #91A822 #22A87C
split-complementary
#3922A8 #A87C22 #4EA822
monochromatic
#160D42 #281875 #3922A8 #4E32D5 #7A65E0

Accessibility & contrast

On white

10.67
#3922A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#3922A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3922A8
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3922A8#FFFFFF#000000##FFFFFF
##3922A81.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AC
Deuteranopia (green-blind)
#0039A6
Tritanopia (blue-blind)
#004B65
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3922a8;
/* rgb */ color: rgb(57, 34, 168);
/* oklch */ color: oklch(38.6% 0.197 279.7);
Tailwind
colors: {
  custom: {
    50: '#7f61c3',
    500: '#3922a8',
    950: '#000000',
  },
}
SCSS
$custom: #3922a8;
$custom-light: #7f61c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3922a8",
  "rgb": {
    "r": 57,
    "g": 34,
    "b": 168
  },
  "hsl": {
    "h": 250.299,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38605,
    "c": 0.19705,
    "h": 279.7
  },
  "luminance": 0.04841
}

Semantic roles & 50–950 ramp

primary
#3922A8
secondary
#B4C561
accent
#E93FCC
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #3922A8

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

Preview Lab → · Contrast checker → · Palette generator →

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