#37229C#37229C

#37229C is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.2% C 0.183 H 280.5°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#37229C
RGBrgb(55, 34, 156)
HSLhsl(250, 64%, 37%)
HSVhsv(250, 78%, 61%)
CMYKcmyk(64.7%, 78.2%, 0%, 38.8%)
CIE-LABlab(24.82, 44.52, -62.40)
CIE-LCHlch(24.82, 76.66, 305.51°)
OKLaboklab(37.16% 0.0335 -0.1801)
OKLCHoklch(37.16% 0.183 280.5)
XYZxyz(8.1464, 4.3560, 31.8575)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37229C #879C22
analogous
#224A9C #37229C #74229C
triadic
#37229C #9C3722 #229C37
tetradic
#37229C #9C224A #879C22 #229C74
square
#37229C #9C224A #879C22 #229C74
split-complementary
#37229C #9C7422 #4A9C22
monochromatic
#140C38 #25176A #37229C #492DCE #735DDC

Accessibility & contrast

On white

11.22
#37229C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#37229C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37229C
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37229C#FFFFFF#000000##FFFFFF
##37229C1.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #37229c;
/* rgb */ color: rgb(55, 34, 156);
/* oklch */ color: oklch(37.2% 0.183 280.5);
Tailwind
colors: {
  custom: {
    50: '#7c61ba',
    500: '#37229c',
    950: '#000000',
  },
}
SCSS
$custom: #37229c;
$custom-light: #7c61ba;
$custom-dark: #000000;
JSON
{
  "hex": "#37229c",
  "rgb": {
    "r": 55,
    "g": 34,
    "b": 156
  },
  "hsl": {
    "h": 250.328,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37161,
    "c": 0.18319,
    "h": 280.5
  },
  "luminance": 0.04357
}

Semantic roles & 50–950 ramp

primary
#37229C
secondary
#AFC05A
accent
#E741CB
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #37229C

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

Preview Lab → · Contrast checker → · Palette generator →

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