#37219B#37219B

#37219B is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.9% C 0.183 H 280.8°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#37219B
RGBrgb(55, 33, 155)
HSLhsl(251, 65%, 37%)
HSVhsv(251, 79%, 61%)
CMYKcmyk(64.5%, 78.7%, 0%, 39.2%)
CIE-LABlab(24.53, 44.73, -62.26)
CIE-LCHlch(24.53, 76.66, 305.69°)
OKLaboklab(36.93% 0.0344 -0.1797)
OKLCHoklch(36.93% 0.183 280.8)
XYZxyz(8.0339, 4.2659, 31.4040)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37219B #859B21
analogous
#21489B #37219B #74219B
triadic
#37219B #9B3721 #219B37
tetradic
#37219B #9B2148 #859B21 #219B74
square
#37219B #9B2148 #859B21 #219B74
split-complementary
#37219B #9B7421 #489B21
monochromatic
#130C36 #251669 #37219B #492CCD #725ADC

Accessibility & contrast

On white

11.33
#37219B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#37219B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37219B
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37219B#FFFFFF#000000##FFFFFF
##37219B1.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9E
Deuteranopia (green-blind)
#003699
Tritanopia (blue-blind)
#00455D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #37219b;
/* rgb */ color: rgb(55, 33, 155);
/* oklch */ color: oklch(36.9% 0.183 280.8);
Tailwind
colors: {
  custom: {
    50: '#7c60ba',
    500: '#37219b',
    950: '#000000',
  },
}
SCSS
$custom: #37219b;
$custom-light: #7c60ba;
$custom-dark: #000000;
JSON
{
  "hex": "#37219b",
  "rgb": {
    "r": 55,
    "g": 33,
    "b": 155
  },
  "hsl": {
    "h": 250.82,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36932,
    "c": 0.18293,
    "h": 280.8
  },
  "luminance": 0.04266
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #37219B

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

Preview Lab → · Contrast checker → · Palette generator →

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