#37204B#37204B

#37204B is a dark, moderate violet. Relative luminance 0.024; OKLCH L 29.5% C 0.079 H 306.9°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#37204B
RGBrgb(55, 32, 75)
HSLhsl(272, 40%, 21%)
HSVhsv(272, 57%, 29%)
CMYKcmyk(26.7%, 57.3%, 0%, 70.6%)
CIE-LABlab(17.24, 20.84, -22.55)
CIE-LCHlch(17.24, 30.71, 312.75°)
OKLaboklab(29.53% 0.0475 -0.0633)
OKLCHoklch(29.53% 0.079 306.9)
XYZxyz(3.3618, 2.3533, 6.9324)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37204B #344B20
analogous
#21204B #37204B #4B2049
triadic
#37204B #4B3720 #204B37
tetradic
#37204B #4B2120 #344B20 #20494B
square
#37204B #4B2120 #344B20 #20494B
split-complementary
#37204B #494B20 #204B21
monochromatic
#100915 #180E20 #37204B #563276 #7645A1

Accessibility & contrast

On white

14.28
#37204B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#37204B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37204B
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37204B#FFFFFF#000000##FFFFFF
##37204B1.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132A4C
Deuteranopia (green-blind)
#1A2B4A
Tritanopia (blue-blind)
#342832
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #37204b;
/* rgb */ color: rgb(55, 32, 75);
/* oklch */ color: oklch(29.5% 0.079 306.9);
Tailwind
colors: {
  custom: {
    50: '#6f5c7d',
    500: '#37204b',
    950: '#000000',
  },
}
SCSS
$custom: #37204b;
$custom-light: #6f5c7d;
$custom-dark: #000000;
JSON
{
  "hex": "#37204b",
  "rgb": {
    "r": 55,
    "g": 32,
    "b": 75
  },
  "hsl": {
    "h": 272.093,
    "s": 40.187,
    "l": 20.98
  },
  "oklch": {
    "l": 0.29525,
    "c": 0.07911,
    "h": 306.9
  },
  "luminance": 0.02353
}

Semantic roles & 50–950 ramp

primary
#37204B
secondary
#617F47
accent
#D05890
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#070409
muted
#7A797B

Preview Lab

Preview with #37204B

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

Preview Lab → · Contrast checker → · Palette generator →

#37204B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva