#372280#372280

#372280 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.3% C 0.148 H 285.8°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#372280
RGBrgb(55, 34, 128)
HSLhsl(253, 58%, 32%)
HSVhsv(253, 73%, 50%)
CMYKcmyk(57%, 73.4%, 0%, 49.8%)
CIE-LABlab(22.00, 35.78, -49.63)
CIE-LCHlch(22.00, 61.18, 305.79°)
OKLaboklab(34.32% 0.0405 -0.1428)
OKLCHoklch(34.32% 0.148 285.8)
XYZxyz(6.0427, 3.5145, 20.7778)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372280 #6B8022
analogous
#223C80 #372280 #662280
triadic
#372280 #803722 #228037
tetradic
#372280 #80223C #6B8022 #228066
square
#372280 #80223C #6B8022 #228066
split-complementary
#372280 #806622 #3C8022
monochromatic
#0D081F #221550 #372280 #4C2FB0 #6A4DD0

Accessibility & contrast

On white

12.33
#372280 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#372280 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372280
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372280#FFFFFF#000000##FFFFFF
##3722801.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003783
Deuteranopia (green-blind)
#00327E
Tritanopia (blue-blind)
#163B4E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #372280;
/* rgb */ color: rgb(55, 34, 128);
/* oklch */ color: oklch(34.3% 0.148 285.8);
Tailwind
colors: {
  custom: {
    50: '#765fa6',
    500: '#372280',
    950: '#000000',
  },
}
SCSS
$custom: #372280;
$custom-light: #765fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#372280",
  "rgb": {
    "r": 55,
    "g": 34,
    "b": 128
  },
  "hsl": {
    "h": 253.404,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.34322,
    "c": 0.1484,
    "h": 285.8
  },
  "luminance": 0.03515
}

Semantic roles & 50–950 ramp

primary
#372280
secondary
#9BB24B
accent
#E147BF
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #372280

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

Preview Lab → · Contrast checker → · Palette generator →

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