#3721A2#3721A2

#3721A2 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.7% C 0.191 H 279.7°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#3721A2
RGBrgb(55, 33, 162)
HSLhsl(250, 66%, 38%)
HSVhsv(250, 80%, 64%)
CMYKcmyk(66%, 79.6%, 0%, 36.5%)
CIE-LABlab(25.28, 46.86, -65.29)
CIE-LCHlch(25.28, 80.36, 305.67°)
OKLaboklab(37.68% 0.0324 -0.1885)
OKLCHoklch(37.68% 0.191 279.7)
XYZxyz(8.6389, 4.5079, 34.5903)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3721A2 #8CA221
analogous
#214BA2 #3721A2 #7821A2
triadic
#3721A2 #A23721 #21A237
tetradic
#3721A2 #A2214B #8CA221 #21A278
square
#3721A2 #A2214B #8CA221 #21A278
split-complementary
#3721A2 #A27821 #4BA221
monochromatic
#140C3C #26176F #3721A2 #492CD4 #755FDE

Accessibility & contrast

On white

11.04
#3721A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#3721A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3721A2
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3721A2#FFFFFF#000000##FFFFFF
##3721A21.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A6
Deuteranopia (green-blind)
#0037A0
Tritanopia (blue-blind)
#004861
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3721a2;
/* rgb */ color: rgb(55, 33, 162);
/* oklch */ color: oklch(37.7% 0.191 279.7);
Tailwind
colors: {
  custom: {
    50: '#7d60bf',
    500: '#3721a2',
    950: '#000000',
  },
}
SCSS
$custom: #3721a2;
$custom-light: #7d60bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3721a2",
  "rgb": {
    "r": 55,
    "g": 33,
    "b": 162
  },
  "hsl": {
    "h": 250.233,
    "s": 66.154,
    "l": 38.235
  },
  "oklch": {
    "l": 0.3768,
    "c": 0.19126,
    "h": 279.7
  },
  "luminance": 0.04509
}

Semantic roles & 50–950 ramp

primary
#3721A2
secondary
#B1C35C
accent
#E93FCC
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3721A2

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

Preview Lab → · Contrast checker → · Palette generator →

#3721A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva