#372490#372490

#372490 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.2% C 0.166 H 282.2°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#372490
RGBrgb(55, 36, 144)
HSLhsl(251, 60%, 35%)
HSVhsv(251, 75%, 56%)
CMYKcmyk(61.8%, 75%, 0%, 43.5%)
CIE-LABlab(23.96, 39.71, -56.43)
CIE-LCHlch(23.96, 69.00, 305.14°)
OKLaboklab(36.19% 0.0352 -0.1627)
OKLCHoklch(36.19% 0.166 282.2)
XYZxyz(7.2389, 4.0871, 26.7876)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372490 #7D9024
analogous
#244790 #372490 #6D2490
triadic
#372490 #903724 #249037
tetradic
#372490 #902447 #7D9024 #24906D
square
#372490 #902447 #7D9024 #24906D
split-complementary
#372490 #906D24 #479024
monochromatic
#120C2E #24185F #372490 #4A30C1 #6F59D5

Accessibility & contrast

On white

11.55
#372490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#372490 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372490
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372490#FFFFFF#000000##FFFFFF
##3724901.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C93
Deuteranopia (green-blind)
#00358E
Tritanopia (blue-blind)
#004258
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #372490;
/* rgb */ color: rgb(55, 36, 144);
/* oklch */ color: oklch(36.2% 0.166 282.2);
Tailwind
colors: {
  custom: {
    50: '#7961b2',
    500: '#372490',
    950: '#000000',
  },
}
SCSS
$custom: #372490;
$custom-light: #7961b2;
$custom-dark: #000000;
JSON
{
  "hex": "#372490",
  "rgb": {
    "r": 55,
    "g": 36,
    "b": 144
  },
  "hsl": {
    "h": 250.556,
    "s": 60,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36187,
    "c": 0.16645,
    "h": 282.2
  },
  "luminance": 0.04088
}

Semantic roles & 50–950 ramp

primary
#372490
secondary
#A8BA56
accent
#E345C7
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #372490

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

Preview Lab → · Contrast checker → · Palette generator →

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