#372284#372284

#372284 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.7% C 0.154 H 284.9°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#372284
RGBrgb(55, 34, 132)
HSLhsl(253, 59%, 33%)
HSVhsv(253, 74%, 52%)
CMYKcmyk(58.3%, 74.2%, 0%, 48.2%)
CIE-LABlab(22.38, 37.04, -51.53)
CIE-LCHlch(22.38, 63.46, 305.71°)
OKLaboklab(34.71% 0.0396 -0.1483)
OKLCHoklch(34.71% 0.154 284.9)
XYZxyz(6.3112, 3.6218, 22.1918)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372284 #6F8422
analogous
#223E84 #372284 #682284
triadic
#372284 #843722 #228437
tetradic
#372284 #84223E #6F8422 #228468
square
#372284 #84223E #6F8422 #228468
split-complementary
#372284 #846822 #3E8422
monochromatic
#0E0923 #231553 #372284 #4B2FB5 #6B4FD2

Accessibility & contrast

On white

12.18
#372284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#372284 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372284
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372284#FFFFFF#000000##FFFFFF
##3722841.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #372284;
/* rgb */ color: rgb(55, 34, 132);
/* oklch */ color: oklch(34.7% 0.154 284.9);
Tailwind
colors: {
  custom: {
    50: '#775fa9',
    500: '#372284',
    950: '#000000',
  },
}
SCSS
$custom: #372284;
$custom-light: #775fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#372284",
  "rgb": {
    "r": 55,
    "g": 34,
    "b": 132
  },
  "hsl": {
    "h": 252.857,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34711,
    "c": 0.15352,
    "h": 284.9
  },
  "luminance": 0.03622
}

Semantic roles & 50–950 ramp

primary
#372284
secondary
#9FB54D
accent
#E246C1
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #372284

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

Preview Lab → · Contrast checker → · Palette generator →

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