#37214B#37214B

#37214B is a dark, moderate violet. Relative luminance 0.024; OKLCH L 29.7% C 0.077 H 306.5°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#37214B
RGBrgb(55, 33, 75)
HSLhsl(271, 39%, 21%)
HSVhsv(271, 56%, 29%)
CMYKcmyk(26.7%, 56%, 0%, 70.6%)
CIE-LABlab(17.50, 20.19, -22.14)
CIE-LCHlch(17.50, 29.96, 312.35°)
OKLaboklab(29.72% 0.0459 -0.0621)
OKLCHoklch(29.72% 0.077 306.5)
XYZxyz(3.3891, 2.4080, 6.9415)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37214B #354B21
analogous
#22214B #37214B #4B214A
triadic
#37214B #4B3721 #214B37
tetradic
#37214B #4B2221 #354B21 #214A4B
square
#37214B #4B2221 #354B21 #214A4B
split-complementary
#37214B #4A4B21 #214B22
monochromatic
#100915 #180E20 #37214B #563475 #7546A0

Accessibility & contrast

On white

14.17
#37214B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#37214B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37214B
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37214B#FFFFFF#000000##FFFFFF
##37214B1.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152A4C
Deuteranopia (green-blind)
#1B2B4A
Tritanopia (blue-blind)
#342832
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #37214b;
/* rgb */ color: rgb(55, 33, 75);
/* oklch */ color: oklch(29.7% 0.077 306.5);
Tailwind
colors: {
  custom: {
    50: '#6f5d7d',
    500: '#37214b',
    950: '#000000',
  },
}
SCSS
$custom: #37214b;
$custom-light: #6f5d7d;
$custom-dark: #000000;
JSON
{
  "hex": "#37214b",
  "rgb": {
    "r": 55,
    "g": 33,
    "b": 75
  },
  "hsl": {
    "h": 271.429,
    "s": 38.889,
    "l": 21.176
  },
  "oklch": {
    "l": 0.29715,
    "c": 0.07719,
    "h": 306.5
  },
  "luminance": 0.02408
}

Semantic roles & 50–950 ramp

primary
#37214B
secondary
#637F49
accent
#CF5991
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#070409
muted
#7A797B

Preview Lab

Preview with #37214B

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

Preview Lab → · Contrast checker → · Palette generator →

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