#372190#372190

#372190 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.8% C 0.170 H 282.7°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#372190
RGBrgb(55, 33, 144)
HSLhsl(252, 63%, 35%)
HSVhsv(252, 77%, 56%)
CMYKcmyk(61.8%, 77.1%, 0%, 43.5%)
CIE-LABlab(23.38, 41.34, -57.37)
CIE-LCHlch(23.38, 70.72, 305.77°)
OKLaboklab(35.78% 0.0374 -0.1654)
OKLCHoklch(35.78% 0.17 282.7)
XYZxyz(7.1519, 3.9131, 26.7586)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372190 #7A9021
analogous
#214290 #372190 #6F2190
triadic
#372190 #903721 #219037
tetradic
#372190 #902142 #7A9021 #21906F
square
#372190 #902142 #7A9021 #21906F
split-complementary
#372190 #906F21 #429021
monochromatic
#110A2C #24165E #372190 #4A2CC2 #6E54D8

Accessibility & contrast

On white

11.78
#372190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#372190 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372190
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372190#FFFFFF#000000##FFFFFF
##3721901.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B93
Deuteranopia (green-blind)
#00348E
Tritanopia (blue-blind)
#004157
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #372190;
/* rgb */ color: rgb(55, 33, 144);
/* oklch */ color: oklch(35.8% 0.170 282.7);
Tailwind
colors: {
  custom: {
    50: '#7a5fb2',
    500: '#372190',
    950: '#000000',
  },
}
SCSS
$custom: #372190;
$custom-light: #7a5fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#372190",
  "rgb": {
    "r": 55,
    "g": 33,
    "b": 144
  },
  "hsl": {
    "h": 251.892,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35782,
    "c": 0.1696,
    "h": 282.7
  },
  "luminance": 0.03914
}

Semantic roles & 50–950 ramp

primary
#372190
secondary
#A6BB51
accent
#E642C5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #372190

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

Preview Lab → · Contrast checker → · Palette generator →

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