#37219D#37219D

#37219D is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.185 H 280.5°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#37219D
RGBrgb(55, 33, 157)
HSLhsl(251, 65%, 37%)
HSVhsv(251, 79%, 62%)
CMYKcmyk(65%, 79%, 0%, 38.4%)
CIE-LABlab(24.75, 45.34, -63.13)
CIE-LCHlch(24.75, 77.72, 305.68°)
OKLaboklab(37.14% 0.0338 -0.1822)
OKLCHoklch(37.14% 0.185 280.5)
XYZxyz(8.2033, 4.3336, 32.2959)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37219D #879D21
analogous
#21499D #37219D #75219D
triadic
#37219D #9D3721 #219D37
tetradic
#37219D #9D2149 #879D21 #219D75
square
#37219D #9D2149 #879D21 #219D75
split-complementary
#37219D #9D7521 #499D21
monochromatic
#140C38 #25166A #37219D #492CD0 #735CDD

Accessibility & contrast

On white

11.25
#37219D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#37219D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37219D
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37219D#FFFFFF#000000##FFFFFF
##37219D1.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA0
Deuteranopia (green-blind)
#00369B
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #37219d;
/* rgb */ color: rgb(55, 33, 157);
/* oklch */ color: oklch(37.1% 0.185 280.5);
Tailwind
colors: {
  custom: {
    50: '#7c60bb',
    500: '#37219d',
    950: '#000000',
  },
}
SCSS
$custom: #37219d;
$custom-light: #7c60bb;
$custom-dark: #000000;
JSON
{
  "hex": "#37219d",
  "rgb": {
    "r": 55,
    "g": 33,
    "b": 157
  },
  "hsl": {
    "h": 250.645,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37144,
    "c": 0.18532,
    "h": 280.5
  },
  "luminance": 0.04334
}

Semantic roles & 50–950 ramp

primary
#37219D
secondary
#AFC159
accent
#E840CA
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #37219D

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

Preview Lab → · Contrast checker → · Palette generator →

#37219D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva