#372492#372492

#372492 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.4% C 0.169 H 281.9°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#372492
RGBrgb(55, 36, 146)
HSLhsl(250, 60%, 36%)
HSVhsv(250, 75%, 57%)
CMYKcmyk(62.3%, 75.3%, 0%, 42.7%)
CIE-LABlab(24.16, 40.34, -57.34)
CIE-LCHlch(24.16, 70.11, 305.13°)
OKLaboklab(36.39% 0.0348 -0.1653)
OKLCHoklch(36.39% 0.169 281.9)
XYZxyz(7.3931, 4.1488, 27.5998)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372492 #7F9224
analogous
#244892 #372492 #6E2492
triadic
#372492 #923724 #249237
tetradic
#372492 #922448 #7F9224 #24926E
square
#372492 #922448 #7F9224 #24926E
split-complementary
#372492 #926E24 #489224
monochromatic
#120C30 #251861 #372492 #4930C3 #705AD6

Accessibility & contrast

On white

11.48
#372492 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#372492 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372492
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372492#FFFFFF#000000##FFFFFF
##3724921.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D95
Deuteranopia (green-blind)
#003590
Tritanopia (blue-blind)
#004359
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #372492;
/* rgb */ color: rgb(55, 36, 146);
/* oklch */ color: oklch(36.4% 0.169 281.9);
Tailwind
colors: {
  custom: {
    50: '#7a61b3',
    500: '#372492',
    950: '#000000',
  },
}
SCSS
$custom: #372492;
$custom-light: #7a61b3;
$custom-dark: #000000;
JSON
{
  "hex": "#372492",
  "rgb": {
    "r": 55,
    "g": 36,
    "b": 146
  },
  "hsl": {
    "h": 250.364,
    "s": 60.44,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36389,
    "c": 0.16894,
    "h": 281.9
  },
  "luminance": 0.04149
}

Semantic roles & 50–950 ramp

primary
#372492
secondary
#AABB57
accent
#E444C8
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #372492

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

Preview Lab → · Contrast checker → · Palette generator →

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