#372095#372095

#372095 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.177 H 282.0°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#372095
RGBrgb(55, 32, 149)
HSLhsl(252, 65%, 35%)
HSVhsv(252, 79%, 58%)
CMYKcmyk(63.1%, 78.5%, 0%, 41.6%)
CIE-LABlab(23.72, 43.40, -59.91)
CIE-LCHlch(23.72, 73.98, 305.92°)
OKLaboklab(36.18% 0.0367 -0.1728)
OKLCHoklch(36.18% 0.177 282)
XYZxyz(7.5152, 4.0146, 28.8068)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372095 #7E9520
analogous
#204395 #372095 #712095
triadic
#372095 #953720 #209537
tetradic
#372095 #952043 #7E9520 #209571
square
#372095 #952043 #7E9520 #209571
split-complementary
#372095 #957120 #439520
monochromatic
#120A30 #241563 #372095 #4A2BC7 #6F55DA

Accessibility & contrast

On white

11.65
#372095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #372095
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372095#FFFFFF#000000##FFFFFF
##3720951.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C98
Deuteranopia (green-blind)
#003493
Tritanopia (blue-blind)
#00425A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #372095;
/* rgb */ color: rgb(55, 32, 149);
/* oklch */ color: oklch(36.2% 0.177 282.0);
Tailwind
colors: {
  custom: {
    50: '#7b5fb5',
    500: '#372095',
    950: '#000000',
  },
}
SCSS
$custom: #372095;
$custom-light: #7b5fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#372095",
  "rgb": {
    "r": 55,
    "g": 32,
    "b": 149
  },
  "hsl": {
    "h": 251.795,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36175,
    "c": 0.17666,
    "h": 282
  },
  "luminance": 0.04015
}

Semantic roles & 50–950 ramp

primary
#372095
secondary
#A9BE53
accent
#E840C7
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #372095

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

Preview Lab → · Contrast checker → · Palette generator →

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