#372186#372186

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

Color values

HEX#372186
RGBrgb(55, 33, 134)
HSLhsl(253, 60%, 33%)
HSVhsv(253, 75%, 53%)
CMYKcmyk(59%, 75.4%, 0%, 47.5%)
CIE-LABlab(22.38, 38.23, -52.79)
CIE-LCHlch(22.38, 65.18, 305.91°)
OKLaboklab(34.77% 0.04 -0.152)
OKLCHoklch(34.77% 0.157 284.7)
XYZxyz(6.4212, 3.6208, 22.9102)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372186 #708621
analogous
#213E86 #372186 #692186
triadic
#372186 #863721 #218637
tetradic
#372186 #86213E #708621 #218669
square
#372186 #86213E #708621 #218669
split-complementary
#372186 #866921 #3E8621
monochromatic
#0F0924 #231555 #372186 #4B2DB7 #6B4ED3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##372186#FFFFFF#000000##FFFFFF
##3721861.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)
#003889
Deuteranopia (green-blind)
#003284
Tritanopia (blue-blind)
#0D3D51
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #372186;
/* rgb */ color: rgb(55, 33, 134);
/* oklch */ color: oklch(34.8% 0.157 284.7);
Tailwind
colors: {
  custom: {
    50: '#785faa',
    500: '#372186',
    950: '#000000',
  },
}
SCSS
$custom: #372186;
$custom-light: #785faa;
$custom-dark: #000000;
JSON
{
  "hex": "#372186",
  "rgb": {
    "r": 55,
    "g": 33,
    "b": 134
  },
  "hsl": {
    "h": 253.069,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.34768,
    "c": 0.15718,
    "h": 284.7
  },
  "luminance": 0.03621
}

Semantic roles & 50–950 ramp

primary
#372186
secondary
#9FB74C
accent
#E444C1
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #372186

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

Preview Lab → · Contrast checker → · Palette generator →

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