#372296#372296

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

Color values

HEX#372296
RGBrgb(55, 34, 150)
HSLhsl(251, 63%, 36%)
HSVhsv(251, 77%, 59%)
CMYKcmyk(63.3%, 77.3%, 0%, 41.2%)
CIE-LABlab(24.19, 42.67, -59.76)
CIE-LCHlch(24.19, 73.43, 305.53°)
OKLaboklab(36.53% 0.0351 -0.1724)
OKLCHoklch(36.53% 0.176 281.5)
XYZxyz(7.6509, 4.1577, 29.2476)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372296 #819622
analogous
#224796 #372296 #712296
triadic
#372296 #963722 #229637
tetradic
#372296 #962247 #819622 #229671
square
#372296 #962247 #819622 #229671
split-complementary
#372296 #967122 #479622
monochromatic
#120B32 #251764 #372296 #492DC8 #7059D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##372296#FFFFFF#000000##FFFFFF
##3722961.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)
#003D99
Deuteranopia (green-blind)
#003594
Tritanopia (blue-blind)
#00435B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #372296;
/* rgb */ color: rgb(55, 34, 150);
/* oklch */ color: oklch(36.5% 0.176 281.5);
Tailwind
colors: {
  custom: {
    50: '#7b60b6',
    500: '#372296',
    950: '#000000',
  },
}
SCSS
$custom: #372296;
$custom-light: #7b60b6;
$custom-dark: #000000;
JSON
{
  "hex": "#372296",
  "rgb": {
    "r": 55,
    "g": 34,
    "b": 150
  },
  "hsl": {
    "h": 250.862,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36533,
    "c": 0.17593,
    "h": 281.5
  },
  "luminance": 0.04158
}

Semantic roles & 50–950 ramp

primary
#372296
secondary
#ABBE56
accent
#E642C8
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #372296

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

Preview Lab → · Contrast checker → · Palette generator →

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