#37219E#37219E

#37219E is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.3% C 0.187 H 280.4°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#37219E
RGBrgb(55, 33, 158)
HSLhsl(251, 65%, 37%)
HSVhsv(251, 79%, 62%)
CMYKcmyk(65.2%, 79.1%, 0%, 38%)
CIE-LABlab(24.85, 45.64, -63.56)
CIE-LCHlch(24.85, 78.25, 305.68°)
OKLaboklab(37.25% 0.0335 -0.1835)
OKLCHoklch(37.25% 0.187 280.4)
XYZxyz(8.2890, 4.3679, 32.7474)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37219E #889E21
analogous
#214A9E #37219E #76219E
triadic
#37219E #9E3721 #219E37
tetradic
#37219E #9E214A #889E21 #219E76
square
#37219E #9E214A #889E21 #219E76
split-complementary
#37219E #9E7621 #4A9E21
monochromatic
#140C39 #25166B #37219E #492CD1 #735CDD

Accessibility & contrast

On white

11.21
#37219E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #37219E
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37219E#FFFFFF#000000##FFFFFF
##37219E1.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA1
Deuteranopia (green-blind)
#00369C
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #37219e;
/* rgb */ color: rgb(55, 33, 158);
/* oklch */ color: oklch(37.3% 0.187 280.4);
Tailwind
colors: {
  custom: {
    50: '#7c60bc',
    500: '#37219e',
    950: '#000000',
  },
}
SCSS
$custom: #37219e;
$custom-light: #7c60bc;
$custom-dark: #000000;
JSON
{
  "hex": "#37219e",
  "rgb": {
    "r": 55,
    "g": 33,
    "b": 158
  },
  "hsl": {
    "h": 250.56,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37251,
    "c": 0.18652,
    "h": 280.4
  },
  "luminance": 0.04369
}

Semantic roles & 50–950 ramp

primary
#37219E
secondary
#AFC159
accent
#E83FCB
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #37219E

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

Preview Lab → · Contrast checker → · Palette generator →

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