#372494#372494

#372494 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.6% C 0.171 H 281.5°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#372494
RGBrgb(55, 36, 148)
HSLhsl(250, 61%, 36%)
HSVhsv(250, 76%, 58%)
CMYKcmyk(62.8%, 75.7%, 0%, 42%)
CIE-LABlab(24.36, 40.97, -58.24)
CIE-LCHlch(24.36, 71.21, 305.13°)
OKLaboklab(36.59% 0.0343 -0.168)
OKLCHoklch(36.59% 0.171 281.5)
XYZxyz(7.5500, 4.2115, 28.4263)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372494 #819424
analogous
#244994 #372494 #6F2494
triadic
#372494 #943724 #249437
tetradic
#372494 #942449 #819424 #24946F
square
#372494 #942449 #819424 #24946F
split-complementary
#372494 #946F24 #499424
monochromatic
#120C32 #251863 #372494 #4930C5 #705BD7

Accessibility & contrast

On white

11.40
#372494 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#372494 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372494
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372494#FFFFFF#000000##FFFFFF
##3724941.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E97
Deuteranopia (green-blind)
#003692
Tritanopia (blue-blind)
#00445A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #372494;
/* rgb */ color: rgb(55, 36, 148);
/* oklch */ color: oklch(36.6% 0.171 281.5);
Tailwind
colors: {
  custom: {
    50: '#7a61b5',
    500: '#372494',
    950: '#000000',
  },
}
SCSS
$custom: #372494;
$custom-light: #7a61b5;
$custom-dark: #000000;
JSON
{
  "hex": "#372494",
  "rgb": {
    "r": 55,
    "g": 36,
    "b": 148
  },
  "hsl": {
    "h": 250.179,
    "s": 60.87,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36593,
    "c": 0.17143,
    "h": 281.5
  },
  "luminance": 0.04212
}

Semantic roles & 50–950 ramp

primary
#372494
secondary
#ABBC58
accent
#E444C9
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #372494

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

Preview Lab → · Contrast checker → · Palette generator →

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