#372297#372297

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

Color values

HEX#372297
RGBrgb(55, 34, 151)
HSLhsl(251, 63%, 36%)
HSVhsv(251, 77%, 59%)
CMYKcmyk(63.6%, 77.5%, 0%, 40.8%)
CIE-LABlab(24.29, 42.98, -60.20)
CIE-LCHlch(24.29, 73.97, 305.52°)
OKLaboklab(36.64% 0.0349 -0.1737)
OKLCHoklch(36.64% 0.177 281.3)
XYZxyz(7.7317, 4.1901, 29.6735)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372297 #829722
analogous
#224897 #372297 #722297
triadic
#372297 #973722 #229737
tetradic
#372297 #972248 #829722 #229772
square
#372297 #972248 #829722 #229772
split-complementary
#372297 #977222 #489722
monochromatic
#130C33 #251765 #372297 #492DC9 #715ADA

Accessibility & contrast

On white

11.42
#372297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #372297
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372297#FFFFFF#000000##FFFFFF
##3722971.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9A
Deuteranopia (green-blind)
#003595
Tritanopia (blue-blind)
#00445B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #372297;
/* rgb */ color: rgb(55, 34, 151);
/* oklch */ color: oklch(36.6% 0.177 281.3);
Tailwind
colors: {
  custom: {
    50: '#7b60b7',
    500: '#372297',
    950: '#000000',
  },
}
SCSS
$custom: #372297;
$custom-light: #7b60b7;
$custom-dark: #000000;
JSON
{
  "hex": "#372297",
  "rgb": {
    "r": 55,
    "g": 34,
    "b": 151
  },
  "hsl": {
    "h": 250.769,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36637,
    "c": 0.17714,
    "h": 281.3
  },
  "luminance": 0.04191
}

Semantic roles & 50–950 ramp

primary
#372297
secondary
#ABBE57
accent
#E642C9
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #372297

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

Preview Lab → · Contrast checker → · Palette generator →

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