#372193#372193

#372193 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.1% C 0.173 H 282.2°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#372193
RGBrgb(55, 33, 147)
HSLhsl(252, 63%, 35%)
HSVhsv(252, 78%, 58%)
CMYKcmyk(62.6%, 77.6%, 0%, 42.4%)
CIE-LABlab(23.69, 42.27, -58.72)
CIE-LCHlch(23.69, 72.35, 305.74°)
OKLaboklab(36.09% 0.0366 -0.1694)
OKLCHoklch(36.09% 0.173 282.2)
XYZxyz(7.3842, 4.0060, 27.9822)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372193 #7D9321
analogous
#214493 #372193 #702193
triadic
#372193 #933721 #219337
tetradic
#372193 #932144 #7D9321 #219370
square
#372193 #932144 #7D9321 #219370
split-complementary
#372193 #937021 #449321
monochromatic
#120B2F #241661 #372193 #4A2CC5 #6F55D9

Accessibility & contrast

On white

11.66
#372193 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#372193 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372193
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372193#FFFFFF#000000##FFFFFF
##3721931.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C96
Deuteranopia (green-blind)
#003491
Tritanopia (blue-blind)
#004259
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #372193;
/* rgb */ color: rgb(55, 33, 147);
/* oklch */ color: oklch(36.1% 0.173 282.2);
Tailwind
colors: {
  custom: {
    50: '#7a5fb4',
    500: '#372193',
    950: '#000000',
  },
}
SCSS
$custom: #372193;
$custom-light: #7a5fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#372193",
  "rgb": {
    "r": 55,
    "g": 33,
    "b": 147
  },
  "hsl": {
    "h": 251.579,
    "s": 63.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36092,
    "c": 0.17327,
    "h": 282.2
  },
  "luminance": 0.04007
}

Semantic roles & 50–950 ramp

primary
#372193
secondary
#A8BD53
accent
#E641C7
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #372193

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

Preview Lab → · Contrast checker → · Palette generator →

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