#372189#372189

#372189 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.1% C 0.161 H 284.1°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#372189
RGBrgb(55, 33, 137)
HSLhsl(253, 61%, 33%)
HSVhsv(253, 76%, 54%)
CMYKcmyk(59.9%, 75.9%, 0%, 46.3%)
CIE-LABlab(22.67, 39.16, -54.18)
CIE-LCHlch(22.67, 66.85, 305.86°)
OKLaboklab(35.07% 0.0392 -0.1561)
OKLCHoklch(35.07% 0.161 284.1)
XYZxyz(6.6334, 3.7057, 24.0278)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372189 #738921
analogous
#213F89 #372189 #6B2189
triadic
#372189 #893721 #218937
tetradic
#372189 #89213F #738921 #21896B
square
#372189 #89213F #738921 #21896B
split-complementary
#372189 #896B21 #3F8921
monochromatic
#0F0926 #231558 #372189 #4B2DBA #6C50D5

Accessibility & contrast

On white

12.06
#372189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#372189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372189
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372189#FFFFFF#000000##FFFFFF
##3721891.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398C
Deuteranopia (green-blind)
#003387
Tritanopia (blue-blind)
#073E53
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #372189;
/* rgb */ color: rgb(55, 33, 137);
/* oklch */ color: oklch(35.1% 0.161 284.1);
Tailwind
colors: {
  custom: {
    50: '#785fac',
    500: '#372189',
    950: '#000000',
  },
}
SCSS
$custom: #372189;
$custom-light: #785fac;
$custom-dark: #000000;
JSON
{
  "hex": "#372189",
  "rgb": {
    "r": 55,
    "g": 33,
    "b": 137
  },
  "hsl": {
    "h": 252.692,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.35069,
    "c": 0.16093,
    "h": 284.1
  },
  "luminance": 0.03706
}

Semantic roles & 50–950 ramp

primary
#372189
secondary
#A2B84E
accent
#E444C2
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #372189

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

Preview Lab → · Contrast checker → · Palette generator →

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