#372572#372572

#372572 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 33.5% C 0.126 H 288.4°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#372572
RGBrgb(55, 37, 114)
HSLhsl(254, 51%, 30%)
HSVhsv(254, 68%, 45%)
CMYKcmyk(51.8%, 67.5%, 0%, 55.3%)
CIE-LABlab(21.39, 29.52, -41.69)
CIE-LCHlch(21.39, 51.08, 305.30°)
OKLaboklab(33.5% 0.0398 -0.1195)
OKLCHoklch(33.5% 0.126 288.4)
XYZxyz(5.2735, 3.3500, 16.2851)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372572 #607225
analogous
#253A72 #372572 #5E2572
triadic
#372572 #723725 #257237
tetradic
#372572 #72253A #607225 #25725E
square
#372572 #72253A #607225 #25725E
split-complementary
#372572 #725E25 #3A7225
monochromatic
#0B0717 #211644 #372572 #4D34A0 #694CC5

Accessibility & contrast

On white

12.57
#372572 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#372572 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372572
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372572#FFFFFF#000000##FFFFFF
##3725721.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003574
Deuteranopia (green-blind)
#003170
Tritanopia (blue-blind)
#233848
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #372572;
/* rgb */ color: rgb(55, 37, 114);
/* oklch */ color: oklch(33.5% 0.126 288.4);
Tailwind
colors: {
  custom: {
    50: '#74619b',
    500: '#372572',
    950: '#000000',
  },
}
SCSS
$custom: #372572;
$custom-light: #74619b;
$custom-dark: #000000;
JSON
{
  "hex": "#372572",
  "rgb": {
    "r": 55,
    "g": 37,
    "b": 114
  },
  "hsl": {
    "h": 254.026,
    "s": 50.993,
    "l": 29.608
  },
  "oklch": {
    "l": 0.335,
    "c": 0.12592,
    "h": 288.4
  },
  "luminance": 0.0335
}

Semantic roles & 50–950 ramp

primary
#372572
secondary
#90A54E
accent
#DA4DB9
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09050E
muted
#7B797E

Preview Lab

Preview with #372572

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

Preview Lab → · Contrast checker → · Palette generator →

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