#372394#372394

#372394 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.5% C 0.172 H 281.7°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#372394
RGBrgb(55, 35, 148)
HSLhsl(251, 62%, 36%)
HSVhsv(251, 76%, 58%)
CMYKcmyk(62.8%, 76.4%, 0%, 42%)
CIE-LABlab(24.17, 41.52, -58.56)
CIE-LCHlch(24.17, 71.78, 305.34°)
OKLaboklab(36.46% 0.035 -0.1689)
OKLCHoklch(36.46% 0.172 281.7)
XYZxyz(7.5202, 4.1519, 28.4163)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372394 #809423
analogous
#234894 #372394 #6F2394
triadic
#372394 #943723 #239437
tetradic
#372394 #942348 #809423 #23946F
square
#372394 #942348 #809423 #23946F
split-complementary
#372394 #946F23 #489423
monochromatic
#120C31 #251763 #372394 #492FC5 #705AD8

Accessibility & contrast

On white

11.47
#372394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #372394
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372394#FFFFFF#000000##FFFFFF
##3723941.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D97
Deuteranopia (green-blind)
#003592
Tritanopia (blue-blind)
#00435A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #372394;
/* rgb */ color: rgb(55, 35, 148);
/* oklch */ color: oklch(36.5% 0.172 281.7);
Tailwind
colors: {
  custom: {
    50: '#7a61b5',
    500: '#372394',
    950: '#000000',
  },
}
SCSS
$custom: #372394;
$custom-light: #7a61b5;
$custom-dark: #000000;
JSON
{
  "hex": "#372394",
  "rgb": {
    "r": 55,
    "g": 35,
    "b": 148
  },
  "hsl": {
    "h": 250.619,
    "s": 61.749,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36457,
    "c": 0.17247,
    "h": 281.7
  },
  "luminance": 0.04152
}

Semantic roles & 50–950 ramp

primary
#372394
secondary
#AABC57
accent
#E543C8
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #372394

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

Preview Lab → · Contrast checker → · Palette generator →

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