#372184#372184

#372184 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.6% C 0.155 H 285.2°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#372184
RGBrgb(55, 33, 132)
HSLhsl(253, 60%, 32%)
HSVhsv(253, 75%, 52%)
CMYKcmyk(58.3%, 75%, 0%, 48.2%)
CIE-LABlab(22.18, 37.60, -51.86)
CIE-LCHlch(22.18, 64.05, 305.95°)
OKLaboklab(34.57% 0.0404 -0.1493)
OKLCHoklch(34.57% 0.155 285.2)
XYZxyz(6.2830, 3.5655, 22.1825)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372184 #6E8421
analogous
#213D84 #372184 #682184
triadic
#372184 #843721 #218437
tetradic
#372184 #84213D #6E8421 #218468
square
#372184 #84213D #6E8421 #218468
split-complementary
#372184 #846821 #3D8421
monochromatic
#0E0922 #231553 #372184 #4B2DB5 #6B4DD2

Accessibility & contrast

On white

12.26
#372184 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#372184 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372184
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372184#FFFFFF#000000##FFFFFF
##3721841.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003887
Deuteranopia (green-blind)
#003282
Tritanopia (blue-blind)
#113C50
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #372184;
/* rgb */ color: rgb(55, 33, 132);
/* oklch */ color: oklch(34.6% 0.155 285.2);
Tailwind
colors: {
  custom: {
    50: '#775fa9',
    500: '#372184',
    950: '#000000',
  },
}
SCSS
$custom: #372184;
$custom-light: #775fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#372184",
  "rgb": {
    "r": 55,
    "g": 33,
    "b": 132
  },
  "hsl": {
    "h": 253.333,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.3457,
    "c": 0.15466,
    "h": 285.2
  },
  "luminance": 0.03566
}

Semantic roles & 50–950 ramp

primary
#372184
secondary
#9EB64B
accent
#E345C0
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #372184

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

Preview Lab → · Contrast checker → · Palette generator →

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