#372175#372175

#372175 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.1% C 0.135 H 288.8°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#372175
RGBrgb(55, 33, 117)
HSLhsl(256, 56%, 29%)
HSVhsv(256, 72%, 46%)
CMYKcmyk(53%, 71.8%, 0%, 54.1%)
CIE-LABlab(20.77, 32.90, -44.64)
CIE-LCHlch(20.77, 55.45, 306.39°)
OKLaboklab(33.13% 0.0436 -0.1281)
OKLCHoklch(33.13% 0.135 288.8)
XYZxyz(5.3294, 3.1841, 17.1599)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372175 #5F7521
analogous
#213575 #372175 #612175
triadic
#372175 #753721 #217537
tetradic
#372175 #752135 #5F7521 #217561
square
#372175 #752135 #5F7521 #217561
split-complementary
#372175 #756121 #357521
monochromatic
#0B0718 #211445 #372175 #4D2EA5 #6946CB

Accessibility & contrast

On white

12.83
#372175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#372175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372175
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372175#FFFFFF#000000##FFFFFF
##3721751.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003478
Deuteranopia (green-blind)
#003073
Tritanopia (blue-blind)
#213648
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #372175;
/* rgb */ color: rgb(55, 33, 117);
/* oklch */ color: oklch(33.1% 0.135 288.8);
Tailwind
colors: {
  custom: {
    50: '#755e9e',
    500: '#372175',
    950: '#000000',
  },
}
SCSS
$custom: #372175;
$custom-light: #755e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#372175",
  "rgb": {
    "r": 55,
    "g": 33,
    "b": 117
  },
  "hsl": {
    "h": 255.714,
    "s": 56,
    "l": 29.412
  },
  "oklch": {
    "l": 0.3313,
    "c": 0.13535,
    "h": 288.8
  },
  "luminance": 0.03184
}

Semantic roles & 50–950 ramp

primary
#372175
secondary
#8FA84A
accent
#DF49B8
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #372175

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

Preview Lab → · Contrast checker → · Palette generator →

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