#372291#372291

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

Color values

HEX#372291
RGBrgb(55, 34, 145)
HSLhsl(251, 62%, 35%)
HSVhsv(251, 77%, 57%)
CMYKcmyk(62.1%, 76.6%, 0%, 43.1%)
CIE-LABlab(23.67, 41.12, -57.52)
CIE-LCHlch(23.67, 70.70, 305.56°)
OKLaboklab(36.02% 0.0364 -0.1658)
OKLCHoklch(36.02% 0.17 282.4)
XYZxyz(7.2568, 4.0001, 27.1723)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372291 #7C9122
analogous
#224591 #372291 #6E2291
triadic
#372291 #913722 #229137
tetradic
#372291 #912245 #7C9122 #22916E
square
#372291 #912245 #7C9122 #22916E
split-complementary
#372291 #916E22 #459122
monochromatic
#110B2E #24165F #372291 #4A2EC3 #6E56D7

Accessibility & contrast

On white

11.67
#372291 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #372291
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372291#FFFFFF#000000##FFFFFF
##3722911.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C94
Deuteranopia (green-blind)
#00348F
Tritanopia (blue-blind)
#004258
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #372291;
/* rgb */ color: rgb(55, 34, 145);
/* oklch */ color: oklch(36.0% 0.170 282.4);
Tailwind
colors: {
  custom: {
    50: '#7a60b2',
    500: '#372291',
    950: '#000000',
  },
}
SCSS
$custom: #372291;
$custom-light: #7a60b2;
$custom-dark: #000000;
JSON
{
  "hex": "#372291",
  "rgb": {
    "r": 55,
    "g": 34,
    "b": 145
  },
  "hsl": {
    "h": 251.351,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36016,
    "c": 0.16981,
    "h": 282.4
  },
  "luminance": 0.04001
}

Semantic roles & 50–950 ramp

primary
#372291
secondary
#A8BB53
accent
#E543C6
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #372291

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

Preview Lab → · Contrast checker → · Palette generator →

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