#372579#372579

#372579 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.1% C 0.135 H 286.7°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#372579
RGBrgb(55, 37, 121)
HSLhsl(253, 53%, 31%)
HSVhsv(253, 69%, 47%)
CMYKcmyk(54.5%, 69.4%, 0%, 52.5%)
CIE-LABlab(22.00, 31.77, -45.18)
CIE-LCHlch(22.00, 55.24, 305.11°)
OKLaboklab(34.13% 0.0389 -0.1297)
OKLCHoklch(34.13% 0.135 286.7)
XYZxyz(5.6873, 3.5155, 18.4643)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372579 #677925
analogous
#253D79 #372579 #612579
triadic
#372579 #793725 #257937
tetradic
#372579 #79253D #677925 #257961
square
#372579 #79253D #677925 #257961
split-complementary
#372579 #796125 #3D7925
monochromatic
#0C081B #22174A #372579 #4C33A8 #694FC9

Accessibility & contrast

On white

12.33
#372579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#372579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372579
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372579#FFFFFF#000000##FFFFFF
##3725791.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377C
Deuteranopia (green-blind)
#003277
Tritanopia (blue-blind)
#1D3A4B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #372579;
/* rgb */ color: rgb(55, 37, 121);
/* oklch */ color: oklch(34.1% 0.135 286.7);
Tailwind
colors: {
  custom: {
    50: '#7561a0',
    500: '#372579',
    950: '#000000',
  },
}
SCSS
$custom: #372579;
$custom-light: #7561a0;
$custom-dark: #000000;
JSON
{
  "hex": "#372579",
  "rgb": {
    "r": 55,
    "g": 37,
    "b": 121
  },
  "hsl": {
    "h": 252.857,
    "s": 53.165,
    "l": 30.98
  },
  "oklch": {
    "l": 0.34127,
    "c": 0.13543,
    "h": 286.7
  },
  "luminance": 0.03516
}

Semantic roles & 50–950 ramp

primary
#372579
secondary
#97AB4E
accent
#DD4BBD
background
#F7F5FA
surface
#EDEAF3
border
#C8C6CD
text
#09050F
muted
#7B797F

Preview Lab

Preview with #372579

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

Preview Lab → · Contrast checker → · Palette generator →

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