#37204C#37204C

#37204C is a dark, moderate violet. Relative luminance 0.024; OKLCH L 29.6% C 0.081 H 306.2°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#37204C
RGBrgb(55, 32, 76)
HSLhsl(271, 41%, 21%)
HSVhsv(271, 58%, 30%)
CMYKcmyk(27.6%, 57.9%, 0%, 70.2%)
CIE-LABlab(17.31, 21.12, -23.13)
CIE-LCHlch(17.31, 31.32, 312.41°)
OKLaboklab(29.59% 0.0476 -0.0649)
OKLCHoklch(29.59% 0.081 306.2)
XYZxyz(3.3963, 2.3671, 7.1140)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37204C #354C20
analogous
#21204C #37204C #4C204B
triadic
#37204C #4C3720 #204C37
tetradic
#37204C #4C2120 #354C20 #204B4C
square
#37204C #4C2120 #354C20 #204B4C
split-complementary
#37204C #4B4C20 #204C21
monochromatic
#100916 #180E21 #37204C #563277 #7544A2

Accessibility & contrast

On white

14.25
#37204C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #37204C
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37204C#FFFFFF#000000##FFFFFF
##37204C1.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122A4D
Deuteranopia (green-blind)
#192B4B
Tritanopia (blue-blind)
#342832
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #37204c;
/* rgb */ color: rgb(55, 32, 76);
/* oklch */ color: oklch(29.6% 0.081 306.2);
Tailwind
colors: {
  custom: {
    50: '#6f5c7e',
    500: '#37204c',
    950: '#000000',
  },
}
SCSS
$custom: #37204c;
$custom-light: #6f5c7e;
$custom-dark: #000000;
JSON
{
  "hex": "#37204c",
  "rgb": {
    "r": 55,
    "g": 32,
    "b": 76
  },
  "hsl": {
    "h": 271.364,
    "s": 40.741,
    "l": 21.176
  },
  "oklch": {
    "l": 0.29594,
    "c": 0.08052,
    "h": 306.2
  },
  "luminance": 0.02367
}

Semantic roles & 50–950 ramp

primary
#37204C
secondary
#638047
accent
#D15791
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#07040A
muted
#7A797C

Preview Lab

Preview with #37204C

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

Preview Lab → · Contrast checker → · Palette generator →

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