#372089#372089

#372089 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.9% C 0.162 H 284.3°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#372089
RGBrgb(55, 32, 137)
HSLhsl(253, 62%, 33%)
HSVhsv(253, 77%, 54%)
CMYKcmyk(59.9%, 76.6%, 0%, 46.3%)
CIE-LABlab(22.48, 39.70, -54.50)
CIE-LCHlch(22.48, 67.42, 306.08°)
OKLaboklab(34.93% 0.04 -0.157)
OKLCHoklch(34.93% 0.162 284.3)
XYZxyz(6.6060, 3.6510, 24.0187)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372089 #728920
analogous
#203D89 #372089 #6B2089
triadic
#372089 #893720 #208937
tetradic
#372089 #89203D #728920 #20896B
square
#372089 #89203D #728920 #20896B
split-complementary
#372089 #896B20 #3D8920
monochromatic
#0F0926 #231457 #372089 #4B2CBB #6C4ED6

Accessibility & contrast

On white

12.14
#372089 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#372089 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372089
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372089#FFFFFF#000000##FFFFFF
##3720891.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #372089;
/* rgb */ color: rgb(55, 32, 137);
/* oklch */ color: oklch(34.9% 0.162 284.3);
Tailwind
colors: {
  custom: {
    50: '#785eac',
    500: '#372089',
    950: '#000000',
  },
}
SCSS
$custom: #372089;
$custom-light: #785eac;
$custom-dark: #000000;
JSON
{
  "hex": "#372089",
  "rgb": {
    "r": 55,
    "g": 32,
    "b": 137
  },
  "hsl": {
    "h": 253.143,
    "s": 62.13,
    "l": 33.137
  },
  "oklch": {
    "l": 0.34934,
    "c": 0.16201,
    "h": 284.3
  },
  "luminance": 0.03651
}

Semantic roles & 50–950 ramp

primary
#372089
secondary
#A1B94C
accent
#E543C2
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #372089

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

Preview Lab → · Contrast checker → · Palette generator →

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