#372575#372575

#372575 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 33.8% C 0.130 H 287.7°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#372575
RGBrgb(55, 37, 117)
HSLhsl(254, 52%, 30%)
HSVhsv(254, 68%, 46%)
CMYKcmyk(53%, 68.4%, 0%, 54.1%)
CIE-LABlab(21.65, 30.48, -43.20)
CIE-LCHlch(21.65, 52.87, 305.21°)
OKLaboklab(33.77% 0.0394 -0.1239)
OKLCHoklch(33.77% 0.13 287.7)
XYZxyz(5.4471, 3.4195, 17.1992)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372575 #637525
analogous
#253B75 #372575 #5F2575
triadic
#372575 #753725 #257537
tetradic
#372575 #75253B #637525 #25755F
square
#372575 #75253B #637525 #25755F
split-complementary
#372575 #755F25 #3B7525
monochromatic
#0B0818 #211647 #372575 #4D34A3 #694EC7

Accessibility & contrast

On white

12.47
#372575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#372575 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372575
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372575#FFFFFF#000000##FFFFFF
##3725751.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003677
Deuteranopia (green-blind)
#003273
Tritanopia (blue-blind)
#203949
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #372575;
/* rgb */ color: rgb(55, 37, 117);
/* oklch */ color: oklch(33.8% 0.130 287.7);
Tailwind
colors: {
  custom: {
    50: '#74619d',
    500: '#372575',
    950: '#000000',
  },
}
SCSS
$custom: #372575;
$custom-light: #74619d;
$custom-dark: #000000;
JSON
{
  "hex": "#372575",
  "rgb": {
    "r": 55,
    "g": 37,
    "b": 117
  },
  "hsl": {
    "h": 253.5,
    "s": 51.948,
    "l": 30.196
  },
  "oklch": {
    "l": 0.33766,
    "c": 0.13002,
    "h": 287.7
  },
  "luminance": 0.0342
}

Semantic roles & 50–950 ramp

primary
#372575
secondary
#93A84E
accent
#DB4CBB
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09050E
muted
#7B797E

Preview Lab

Preview with #372575

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

Preview Lab → · Contrast checker → · Palette generator →

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