#372290#372290

#372290 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.9% C 0.169 H 282.6°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#372290
RGBrgb(55, 34, 144)
HSLhsl(251, 62%, 35%)
HSVhsv(251, 76%, 56%)
CMYKcmyk(61.8%, 76.4%, 0%, 43.5%)
CIE-LABlab(23.57, 40.80, -57.07)
CIE-LCHlch(23.57, 70.15, 305.57°)
OKLaboklab(35.91% 0.0367 -0.1645)
OKLCHoklch(35.91% 0.169 282.6)
XYZxyz(7.1801, 3.9694, 26.7680)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372290 #7B9022
analogous
#224490 #372290 #6E2290
triadic
#372290 #903722 #229037
tetradic
#372290 #902244 #7B9022 #22906E
square
#372290 #902244 #7B9022 #22906E
split-complementary
#372290 #906E22 #449022
monochromatic
#110B2D #24165E #372290 #4A2EC2 #6E55D7

Accessibility & contrast

On white

11.71
#372290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #372290
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372290#FFFFFF#000000##FFFFFF
##3722901.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C93
Deuteranopia (green-blind)
#00348E
Tritanopia (blue-blind)
#004157
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #372290;
/* rgb */ color: rgb(55, 34, 144);
/* oklch */ color: oklch(35.9% 0.169 282.6);
Tailwind
colors: {
  custom: {
    50: '#7960b2',
    500: '#372290',
    950: '#000000',
  },
}
SCSS
$custom: #372290;
$custom-light: #7960b2;
$custom-dark: #000000;
JSON
{
  "hex": "#372290",
  "rgb": {
    "r": 55,
    "g": 34,
    "b": 144
  },
  "hsl": {
    "h": 251.455,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35914,
    "c": 0.16856,
    "h": 282.6
  },
  "luminance": 0.0397
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #372290

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

Preview Lab → · Contrast checker → · Palette generator →

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