#372289#372289

#372289 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.2% C 0.160 H 283.9°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#372289
RGBrgb(55, 34, 137)
HSLhsl(252, 60%, 34%)
HSVhsv(252, 75%, 54%)
CMYKcmyk(59.9%, 75.2%, 0%, 46.3%)
CIE-LABlab(22.87, 38.61, -53.86)
CIE-LCHlch(22.87, 66.27, 305.64°)
OKLaboklab(35.21% 0.0384 -0.1551)
OKLCHoklch(35.21% 0.16 283.9)
XYZxyz(6.6615, 3.7620, 24.0372)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372289 #748922
analogous
#224089 #372289 #6A2289
triadic
#372289 #893722 #228937
tetradic
#372289 #892240 #748922 #22896A
square
#372289 #892240 #748922 #22896A
split-complementary
#372289 #896A22 #408922
monochromatic
#100A27 #231658 #372289 #4B2EBA #6C51D4

Accessibility & contrast

On white

11.98
#372289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #372289
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372289#FFFFFF#000000##FFFFFF
##3722891.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8C
Deuteranopia (green-blind)
#003387
Tritanopia (blue-blind)
#073E53
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #372289;
/* rgb */ color: rgb(55, 34, 137);
/* oklch */ color: oklch(35.2% 0.160 283.9);
Tailwind
colors: {
  custom: {
    50: '#7860ac',
    500: '#372289',
    950: '#000000',
  },
}
SCSS
$custom: #372289;
$custom-light: #7860ac;
$custom-dark: #000000;
JSON
{
  "hex": "#372289",
  "rgb": {
    "r": 55,
    "g": 34,
    "b": 137
  },
  "hsl": {
    "h": 252.233,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.35207,
    "c": 0.15984,
    "h": 283.9
  },
  "luminance": 0.03762
}

Semantic roles & 50–950 ramp

primary
#372289
secondary
#A2B84F
accent
#E344C3
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #372289

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

Preview Lab → · Contrast checker → · Palette generator →

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