#372094#372094

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

Color values

HEX#372094
RGBrgb(55, 32, 148)
HSLhsl(252, 64%, 35%)
HSVhsv(252, 78%, 58%)
CMYKcmyk(62.8%, 78.4%, 0%, 42%)
CIE-LABlab(23.61, 43.09, -59.47)
CIE-LCHlch(23.61, 73.44, 305.93°)
OKLaboklab(36.07% 0.037 -0.1715)
OKLCHoklch(36.07% 0.175 282.2)
XYZxyz(7.4357, 3.9828, 28.3882)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372094 #7D9420
analogous
#204394 #372094 #712094
triadic
#372094 #943720 #209437
tetradic
#372094 #942043 #7D9420 #209471
square
#372094 #942043 #7D9420 #209471
split-complementary
#372094 #947120 #439420
monochromatic
#120A2F #241562 #372094 #4A2BC6 #6F54DA

Accessibility & contrast

On white

11.69
#372094 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #372094
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372094#FFFFFF#000000##FFFFFF
##3720941.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #372094;
/* rgb */ color: rgb(55, 32, 148);
/* oklch */ color: oklch(36.1% 0.175 282.2);
Tailwind
colors: {
  custom: {
    50: '#7a5fb5',
    500: '#372094',
    950: '#000000',
  },
}
SCSS
$custom: #372094;
$custom-light: #7a5fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#372094",
  "rgb": {
    "r": 55,
    "g": 32,
    "b": 148
  },
  "hsl": {
    "h": 251.897,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.3607,
    "c": 0.17546,
    "h": 282.2
  },
  "luminance": 0.03983
}

Semantic roles & 50–950 ramp

primary
#372094
secondary
#A8BE52
accent
#E740C6
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #372094

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

Preview Lab → · Contrast checker → · Palette generator →

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