#372090#372090

#372090 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.7% C 0.171 H 282.9°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#372090
RGBrgb(55, 32, 144)
HSLhsl(252, 64%, 35%)
HSVhsv(252, 78%, 56%)
CMYKcmyk(61.8%, 77.8%, 0%, 43.5%)
CIE-LABlab(23.20, 41.86, -57.68)
CIE-LCHlch(23.20, 71.27, 305.97°)
OKLaboklab(35.65% 0.0381 -0.1663)
OKLCHoklch(35.65% 0.171 282.9)
XYZxyz(7.1245, 3.8584, 26.7495)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372090 #799020
analogous
#204190 #372090 #6F2090
triadic
#372090 #903720 #209037
tetradic
#372090 #902041 #799020 #20906F
square
#372090 #902041 #799020 #20906F
split-complementary
#372090 #906F20 #419020
monochromatic
#110A2C #24155E #372090 #4A2BC2 #6E52D9

Accessibility & contrast

On white

11.85
#372090 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#372090 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372090
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372090#FFFFFF#000000##FFFFFF
##3720901.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B93
Deuteranopia (green-blind)
#00338E
Tritanopia (blue-blind)
#004057
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #372090;
/* rgb */ color: rgb(55, 32, 144);
/* oklch */ color: oklch(35.7% 0.171 282.9);
Tailwind
colors: {
  custom: {
    50: '#7a5fb2',
    500: '#372090',
    950: '#000000',
  },
}
SCSS
$custom: #372090;
$custom-light: #7a5fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#372090",
  "rgb": {
    "r": 55,
    "g": 32,
    "b": 144
  },
  "hsl": {
    "h": 252.321,
    "s": 63.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35652,
    "c": 0.17061,
    "h": 282.9
  },
  "luminance": 0.03859
}

Semantic roles & 50–950 ramp

primary
#372090
secondary
#A6BC50
accent
#E741C5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #372090

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

Preview Lab → · Contrast checker → · Palette generator →

#372090 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva