#372170#372170

#372170 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 32.7% C 0.129 H 290.2°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#372170
RGBrgb(55, 33, 112)
HSLhsl(257, 54%, 28%)
HSVhsv(257, 71%, 44%)
CMYKcmyk(50.9%, 70.5%, 0%, 56.1%)
CIE-LABlab(20.32, 31.33, -42.15)
CIE-LCHlch(20.32, 52.52, 306.62°)
OKLaboklab(32.67% 0.0445 -0.1208)
OKLCHoklch(32.67% 0.129 290.2)
XYZxyz(5.0432, 3.0696, 15.6529)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372170 #5A7021
analogous
#213270 #372170 #5E2170
triadic
#372170 #703721 #217037
tetradic
#372170 #702132 #5A7021 #21705E
square
#372170 #702132 #5A7021 #21705E
split-complementary
#372170 #705E21 #327021
monochromatic
#0C0718 #201341 #372170 #4E2F9F #6844C8

Accessibility & contrast

On white

13.01
#372170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#372170 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372170
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372170#FFFFFF#000000##FFFFFF
##3721701.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003272
Deuteranopia (green-blind)
#002F6E
Tritanopia (blue-blind)
#243545
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #372170;
/* rgb */ color: rgb(55, 33, 112);
/* oklch */ color: oklch(32.7% 0.129 290.2);
Tailwind
colors: {
  custom: {
    50: '#745e9a',
    500: '#372170',
    950: '#000000',
  },
}
SCSS
$custom: #372170;
$custom-light: #745e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#372170",
  "rgb": {
    "r": 55,
    "g": 33,
    "b": 112
  },
  "hsl": {
    "h": 256.709,
    "s": 54.483,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32671,
    "c": 0.12874,
    "h": 290.2
  },
  "luminance": 0.0307
}

Semantic roles & 50–950 ramp

primary
#372170
secondary
#8AA449
accent
#DE4AB5
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #372170

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

Preview Lab → · Contrast checker → · Palette generator →

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