#3921A0#3921A0

#3921A0 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.6% C 0.189 H 281.0°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#3921A0
RGBrgb(57, 33, 160)
HSLhsl(251, 66%, 38%)
HSVhsv(251, 79%, 63%)
CMYKcmyk(64.4%, 79.4%, 0%, 37.3%)
CIE-LABlab(25.24, 46.47, -64.13)
CIE-LCHlch(25.24, 79.20, 305.93°)
OKLaboklab(37.63% 0.036 -0.1851)
OKLCHoklch(37.63% 0.189 281)
XYZxyz(8.5744, 4.4950, 33.6667)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3921A0 #88A021
analogous
#2148A0 #3921A0 #7921A0
triadic
#3921A0 #A03921 #21A039
tetradic
#3921A0 #A02148 #88A021 #21A079
square
#3921A0 #A02148 #88A021 #21A079
split-complementary
#3921A0 #A07921 #48A021
monochromatic
#150C3B #27176D #3921A0 #4B2BD3 #765EDE

Accessibility & contrast

On white

11.06
#3921A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#3921A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3921A0
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3921A0#FFFFFF#000000##FFFFFF
##3921A01.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A4
Deuteranopia (green-blind)
#00379E
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3921a0;
/* rgb */ color: rgb(57, 33, 160);
/* oklch */ color: oklch(37.6% 0.189 281.0);
Tailwind
colors: {
  custom: {
    50: '#7e60bd',
    500: '#3921a0',
    950: '#000000',
  },
}
SCSS
$custom: #3921a0;
$custom-light: #7e60bd;
$custom-dark: #000000;
JSON
{
  "hex": "#3921a0",
  "rgb": {
    "r": 57,
    "g": 33,
    "b": 160
  },
  "hsl": {
    "h": 251.339,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37632,
    "c": 0.18853,
    "h": 281
  },
  "luminance": 0.04496
}

Semantic roles & 50–950 ramp

primary
#3921A0
secondary
#AFC25B
accent
#E93FC9
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3921A0

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

Preview Lab → · Contrast checker → · Palette generator →

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