#372093#372093

#372093 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.0% C 0.174 H 282.3°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#372093
RGBrgb(55, 32, 147)
HSLhsl(252, 64%, 35%)
HSVhsv(252, 78%, 58%)
CMYKcmyk(62.6%, 78.2%, 0%, 42.4%)
CIE-LABlab(23.51, 42.79, -59.02)
CIE-LCHlch(23.51, 72.90, 305.94°)
OKLaboklab(35.97% 0.0373 -0.1702)
OKLCHoklch(35.97% 0.174 282.3)
XYZxyz(7.3569, 3.9513, 27.9731)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372093 #7C9320
analogous
#204293 #372093 #702093
triadic
#372093 #933720 #209337
tetradic
#372093 #932042 #7C9320 #209370
square
#372093 #932042 #7C9320 #209370
split-complementary
#372093 #937020 #429320
monochromatic
#110A2E #241561 #372093 #4A2BC5 #6E54DA

Accessibility & contrast

On white

11.73
#372093 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#372093 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372093
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372093#FFFFFF#000000##FFFFFF
##3720931.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #372093;
/* rgb */ color: rgb(55, 32, 147);
/* oklch */ color: oklch(36.0% 0.174 282.3);
Tailwind
colors: {
  custom: {
    50: '#7a5fb4',
    500: '#372093',
    950: '#000000',
  },
}
SCSS
$custom: #372093;
$custom-light: #7a5fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#372093",
  "rgb": {
    "r": 55,
    "g": 32,
    "b": 147
  },
  "hsl": {
    "h": 252,
    "s": 64.246,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35965,
    "c": 0.17425,
    "h": 282.3
  },
  "luminance": 0.03952
}

Semantic roles & 50–950 ramp

primary
#372093
secondary
#A8BD52
accent
#E741C6
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #372093

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

Preview Lab → · Contrast checker → · Palette generator →

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