#372587#372587

#372587 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.4% C 0.154 H 283.7°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#372587
RGBrgb(55, 37, 135)
HSLhsl(251, 57%, 34%)
HSVhsv(251, 73%, 53%)
CMYKcmyk(59.3%, 72.6%, 0%, 47.1%)
CIE-LABlab(23.28, 36.27, -51.93)
CIE-LCHlch(23.28, 63.34, 304.94°)
OKLaboklab(35.44% 0.0364 -0.1495)
OKLCHoklch(35.44% 0.154 283.7)
XYZxyz(6.6089, 3.8842, 23.3184)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372587 #758725
analogous
#254487 #372587 #682587
triadic
#372587 #873725 #258737
tetradic
#372587 #872544 #758725 #258768
square
#372587 #872544 #758725 #258768
split-complementary
#372587 #876825 #448725
monochromatic
#100B27 #231857 #372587 #4B32B7 #6C56D1

Accessibility & contrast

On white

11.82
#372587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#372587 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372587
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372587#FFFFFF#000000##FFFFFF
##3725871.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8A
Deuteranopia (green-blind)
#003485
Tritanopia (blue-blind)
#0B3F53
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #372587;
/* rgb */ color: rgb(55, 37, 135);
/* oklch */ color: oklch(35.4% 0.154 283.7);
Tailwind
colors: {
  custom: {
    50: '#7761ab',
    500: '#372587',
    950: '#000000',
  },
}
SCSS
$custom: #372587;
$custom-light: #7761ab;
$custom-dark: #000000;
JSON
{
  "hex": "#372587",
  "rgb": {
    "r": 55,
    "g": 37,
    "b": 135
  },
  "hsl": {
    "h": 251.02,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.35443,
    "c": 0.15387,
    "h": 283.7
  },
  "luminance": 0.03885
}

Semantic roles & 50–950 ramp

primary
#372587
secondary
#A3B553
accent
#E048C4
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #372587

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

Preview Lab → · Contrast checker → · Palette generator →

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