#372398#372398

#372398 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.9% C 0.177 H 281.0°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#372398
RGBrgb(55, 35, 152)
HSLhsl(250, 63%, 37%)
HSVhsv(250, 77%, 60%)
CMYKcmyk(63.8%, 77%, 0%, 40.4%)
CIE-LABlab(24.58, 42.77, -60.34)
CIE-LCHlch(24.58, 73.96, 305.33°)
OKLaboklab(36.87% 0.034 -0.1741)
OKLCHoklch(36.87% 0.177 281)
XYZxyz(7.8423, 4.2807, 30.1127)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372398 #849823
analogous
#234A98 #372398 #722398
triadic
#372398 #983723 #239837
tetradic
#372398 #98234A #849823 #239872
square
#372398 #98234A #849823 #239872
split-complementary
#372398 #987223 #4A9823
monochromatic
#130C35 #251866 #372398 #492ECA #715CD9

Accessibility & contrast

On white

11.31
#372398 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#372398 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372398
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372398#FFFFFF#000000##FFFFFF
##3723981.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9B
Deuteranopia (green-blind)
#003696
Tritanopia (blue-blind)
#00455C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #372398;
/* rgb */ color: rgb(55, 35, 152);
/* oklch */ color: oklch(36.9% 0.177 281.0);
Tailwind
colors: {
  custom: {
    50: '#7b61b7',
    500: '#372398',
    950: '#000000',
  },
}
SCSS
$custom: #372398;
$custom-light: #7b61b7;
$custom-dark: #000000;
JSON
{
  "hex": "#372398",
  "rgb": {
    "r": 55,
    "g": 35,
    "b": 152
  },
  "hsl": {
    "h": 250.256,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.3687,
    "c": 0.17738,
    "h": 281
  },
  "luminance": 0.04281
}

Semantic roles & 50–950 ramp

primary
#372398
secondary
#ADBE59
accent
#E642CA
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #372398

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

Preview Lab → · Contrast checker → · Palette generator →

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