#372299#372299

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

Color values

HEX#372299
RGBrgb(55, 34, 153)
HSLhsl(251, 64%, 37%)
HSVhsv(251, 78%, 60%)
CMYKcmyk(64.1%, 77.8%, 0%, 40%)
CIE-LABlab(24.50, 43.60, -61.09)
CIE-LCHlch(24.50, 75.05, 305.52°)
OKLaboklab(36.85% 0.0343 -0.1763)
OKLCHoklch(36.85% 0.18 281)
XYZxyz(7.8955, 4.2556, 30.5362)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372299 #849922
analogous
#224999 #372299 #732299
triadic
#372299 #993722 #229937
tetradic
#372299 #992249 #849922 #229973
square
#372299 #992249 #849922 #229973
split-complementary
#372299 #997322 #499922
monochromatic
#130C35 #251767 #372299 #492DCB #715BDB

Accessibility & contrast

On white

11.34
#372299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#372299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372299
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372299#FFFFFF#000000##FFFFFF
##3722991.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #372299;
/* rgb */ color: rgb(55, 34, 153);
/* oklch */ color: oklch(36.8% 0.180 281.0);
Tailwind
colors: {
  custom: {
    50: '#7b60b8',
    500: '#372299',
    950: '#000000',
  },
}
SCSS
$custom: #372299;
$custom-light: #7b60b8;
$custom-dark: #000000;
JSON
{
  "hex": "#372299",
  "rgb": {
    "r": 55,
    "g": 34,
    "b": 153
  },
  "hsl": {
    "h": 250.588,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36846,
    "c": 0.17957,
    "h": 281
  },
  "luminance": 0.04256
}

Semantic roles & 50–950 ramp

primary
#372299
secondary
#ADBF58
accent
#E741C9
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #372299

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

Preview Lab → · Contrast checker → · Palette generator →

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