#372281#372281

#372281 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.4% C 0.150 H 285.6°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#372281
RGBrgb(55, 34, 129)
HSLhsl(253, 58%, 32%)
HSVhsv(253, 74%, 51%)
CMYKcmyk(57.4%, 73.6%, 0%, 49.4%)
CIE-LABlab(22.09, 36.09, -50.11)
CIE-LCHlch(22.09, 61.76, 305.77°)
OKLaboklab(34.42% 0.0403 -0.1442)
OKLCHoklch(34.42% 0.15 285.6)
XYZxyz(6.1088, 3.5409, 21.1262)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372281 #6C8122
analogous
#223D81 #372281 #672281
triadic
#372281 #813722 #228137
tetradic
#372281 #81223D #6C8122 #228167
square
#372281 #81223D #6C8122 #228167
split-complementary
#372281 #816722 #3D8122
monochromatic
#0E0820 #221551 #372281 #4C2FB1 #6A4DD0

Accessibility & contrast

On white

12.29
#372281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#372281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372281
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372281#FFFFFF#000000##FFFFFF
##3722811.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003784
Deuteranopia (green-blind)
#00327F
Tritanopia (blue-blind)
#153B4F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #372281;
/* rgb */ color: rgb(55, 34, 129);
/* oklch */ color: oklch(34.4% 0.150 285.6);
Tailwind
colors: {
  custom: {
    50: '#775fa6',
    500: '#372281',
    950: '#000000',
  },
}
SCSS
$custom: #372281;
$custom-light: #775fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#372281",
  "rgb": {
    "r": 55,
    "g": 34,
    "b": 129
  },
  "hsl": {
    "h": 253.263,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34419,
    "c": 0.14969,
    "h": 285.6
  },
  "luminance": 0.03541
}

Semantic roles & 50–950 ramp

primary
#372281
secondary
#9CB34B
accent
#E146BF
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #372281

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

Preview Lab → · Contrast checker → · Palette generator →

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