#372288#372288

#372288 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.1% C 0.159 H 284.1°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#372288
RGBrgb(55, 34, 136)
HSLhsl(252, 60%, 33%)
HSVhsv(252, 75%, 53%)
CMYKcmyk(59.6%, 75%, 0%, 46.7%)
CIE-LABlab(22.77, 38.30, -53.40)
CIE-LCHlch(22.77, 65.71, 305.65°)
OKLaboklab(35.11% 0.0387 -0.1538)
OKLCHoklch(35.11% 0.159 284.1)
XYZxyz(6.5901, 3.7334, 23.6611)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372288 #738822
analogous
#224088 #372288 #6A2288
triadic
#372288 #883722 #228837
tetradic
#372288 #882240 #738822 #22886A
square
#372288 #882240 #738822 #22886A
split-complementary
#372288 #886A22 #408822
monochromatic
#0F0A26 #231657 #372288 #4B2EB9 #6C51D3

Accessibility & contrast

On white

12.02
#372288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#372288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372288
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372288#FFFFFF#000000##FFFFFF
##3722881.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398B
Deuteranopia (green-blind)
#003386
Tritanopia (blue-blind)
#093E53
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #372288;
/* rgb */ color: rgb(55, 34, 136);
/* oklch */ color: oklch(35.1% 0.159 284.1);
Tailwind
colors: {
  custom: {
    50: '#785fac',
    500: '#372288',
    950: '#000000',
  },
}
SCSS
$custom: #372288;
$custom-light: #785fac;
$custom-dark: #000000;
JSON
{
  "hex": "#372288",
  "rgb": {
    "r": 55,
    "g": 34,
    "b": 136
  },
  "hsl": {
    "h": 252.353,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.35107,
    "c": 0.15859,
    "h": 284.1
  },
  "luminance": 0.03734
}

Semantic roles & 50–950 ramp

primary
#372288
secondary
#A2B74F
accent
#E345C3
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #372288

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

Preview Lab → · Contrast checker → · Palette generator →

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