#372588#372588

#372588 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.5% C 0.155 H 283.5°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#372588
RGBrgb(55, 37, 136)
HSLhsl(251, 57%, 34%)
HSVhsv(251, 73%, 53%)
CMYKcmyk(59.6%, 72.8%, 0%, 46.7%)
CIE-LABlab(23.38, 36.59, -52.40)
CIE-LCHlch(23.38, 63.91, 304.93°)
OKLaboklab(35.54% 0.0362 -0.1509)
OKLCHoklch(35.54% 0.155 283.5)
XYZxyz(6.6797, 3.9125, 23.6910)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372588 #768825
analogous
#254588 #372588 #692588
triadic
#372588 #883725 #258837
tetradic
#372588 #882545 #768825 #258869
square
#372588 #882545 #768825 #258869
split-complementary
#372588 #886925 #458825
monochromatic
#100B28 #241858 #372588 #4A32B8 #6D56D1

Accessibility & contrast

On white

11.78
#372588 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #372588
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372588#FFFFFF#000000##FFFFFF
##3725881.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8B
Deuteranopia (green-blind)
#003486
Tritanopia (blue-blind)
#084054
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #372588;
/* rgb */ color: rgb(55, 37, 136);
/* oklch */ color: oklch(35.5% 0.155 283.5);
Tailwind
colors: {
  custom: {
    50: '#7861ac',
    500: '#372588',
    950: '#000000',
  },
}
SCSS
$custom: #372588;
$custom-light: #7861ac;
$custom-dark: #000000;
JSON
{
  "hex": "#372588",
  "rgb": {
    "r": 55,
    "g": 37,
    "b": 136
  },
  "hsl": {
    "h": 250.909,
    "s": 57.225,
    "l": 33.922
  },
  "oklch": {
    "l": 0.3554,
    "c": 0.15516,
    "h": 283.5
  },
  "luminance": 0.03913
}

Semantic roles & 50–950 ramp

primary
#372588
secondary
#A4B653
accent
#E047C5
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #372588

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

Preview Lab → · Contrast checker → · Palette generator →

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