#3720A2#3720A2

#3720A2 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.6% C 0.192 H 279.9°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#3720A2
RGBrgb(55, 32, 162)
HSLhsl(251, 67%, 38%)
HSVhsv(251, 80%, 64%)
CMYKcmyk(66%, 80.2%, 0%, 36.5%)
CIE-LABlab(25.12, 47.34, -65.56)
CIE-LCHlch(25.12, 80.87, 305.83°)
OKLaboklab(37.56% 0.0329 -0.1893)
OKLCHoklch(37.56% 0.192 279.9)
XYZxyz(8.6116, 4.4532, 34.5812)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3720A2 #8BA220
analogous
#204AA2 #3720A2 #7820A2
triadic
#3720A2 #A23720 #20A237
tetradic
#3720A2 #A2204A #8BA220 #20A278
square
#3720A2 #A2204A #8BA220 #20A278
split-complementary
#3720A2 #A27820 #4AA220
monochromatic
#140C3C #26166F #3720A2 #482AD5 #745DDF

Accessibility & contrast

On white

11.11
#3720A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#3720A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3720A2
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3720A2#FFFFFF#000000##FFFFFF
##3720A21.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3720a2;
/* rgb */ color: rgb(55, 32, 162);
/* oklch */ color: oklch(37.6% 0.192 279.9);
Tailwind
colors: {
  custom: {
    50: '#7d60bf',
    500: '#3720a2',
    950: '#000000',
  },
}
SCSS
$custom: #3720a2;
$custom-light: #7d60bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3720a2",
  "rgb": {
    "r": 55,
    "g": 32,
    "b": 162
  },
  "hsl": {
    "h": 250.615,
    "s": 67.01,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37563,
    "c": 0.19213,
    "h": 279.9
  },
  "luminance": 0.04454
}

Semantic roles & 50–950 ramp

primary
#3720A2
secondary
#B1C35A
accent
#EA3ECB
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3720A2

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

Preview Lab → · Contrast checker → · Palette generator →

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