#3921AB#3921AB

#3921AB is a dark, highly saturated violet. Relative luminance 0.049; OKLCH L 38.8% C 0.201 H 279.3°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#3921AB
RGBrgb(57, 33, 171)
HSLhsl(250, 68%, 40%)
HSVhsv(250, 81%, 67%)
CMYKcmyk(66.7%, 80.7%, 0%, 32.9%)
CIE-LABlab(26.44, 49.76, -68.82)
CIE-LCHlch(26.44, 84.92, 305.87°)
OKLaboklab(38.82% 0.0327 -0.1987)
OKLCHoklch(38.82% 0.201 279.3)
XYZxyz(9.5795, 4.8971, 38.9606)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3921AB #93AB21
analogous
#214EAB #3921AB #7E21AB
triadic
#3921AB #AB3921 #21AB39
tetradic
#3921AB #AB214E #93AB21 #21AB7E
square
#3921AB #AB214E #93AB21 #21AB7E
split-complementary
#3921AB #AB7E21 #4EAB21
monochromatic
#170D44 #281778 #3921AB #4F32D7 #7B65E1

Accessibility & contrast

On white

10.61
#3921AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#3921AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3921AB
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3921AB#FFFFFF#000000##FFFFFF
##3921AB1.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AF
Deuteranopia (green-blind)
#0039A9
Tritanopia (blue-blind)
#004B67
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3921ab;
/* rgb */ color: rgb(57, 33, 171);
/* oklch */ color: oklch(38.8% 0.201 279.3);
Tailwind
colors: {
  custom: {
    50: '#8061c5',
    500: '#3921ab',
    950: '#000000',
  },
}
SCSS
$custom: #3921ab;
$custom-light: #8061c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3921ab",
  "rgb": {
    "r": 57,
    "g": 33,
    "b": 171
  },
  "hsl": {
    "h": 250.435,
    "s": 67.647,
    "l": 40
  },
  "oklch": {
    "l": 0.38816,
    "c": 0.20138,
    "h": 279.3
  },
  "luminance": 0.04898
}

Semantic roles & 50–950 ramp

primary
#3921AB
secondary
#B5C761
accent
#EB3DCC
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #3921AB

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

Preview Lab → · Contrast checker → · Palette generator →

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