#37229D#37229D

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

Color values

HEX#37229D
RGBrgb(55, 34, 157)
HSLhsl(250, 64%, 37%)
HSVhsv(250, 78%, 62%)
CMYKcmyk(65%, 78.3%, 0%, 38.4%)
CIE-LABlab(24.92, 44.83, -62.84)
CIE-LCHlch(24.92, 77.19, 305.51°)
OKLaboklab(37.27% 0.0332 -0.1814)
OKLCHoklch(37.27% 0.184 280.4)
XYZxyz(8.2314, 4.3900, 32.3053)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37229D #889D22
analogous
#224A9D #37229D #75229D
triadic
#37229D #9D3722 #229D37
tetradic
#37229D #9D224A #889D22 #229D75
square
#37229D #9D224A #889D22 #229D75
split-complementary
#37229D #9D7522 #4A9D22
monochromatic
#140C38 #25176B #37229D #492DCF #735DDC

Accessibility & contrast

On white

11.18
#37229D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#37229D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37229D
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37229D#FFFFFF#000000##FFFFFF
##37229D1.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #37229d;
/* rgb */ color: rgb(55, 34, 157);
/* oklch */ color: oklch(37.3% 0.184 280.4);
Tailwind
colors: {
  custom: {
    50: '#7c61bb',
    500: '#37229d',
    950: '#000000',
  },
}
SCSS
$custom: #37229d;
$custom-light: #7c61bb;
$custom-dark: #000000;
JSON
{
  "hex": "#37229d",
  "rgb": {
    "r": 55,
    "g": 34,
    "b": 157
  },
  "hsl": {
    "h": 250.244,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37267,
    "c": 0.1844,
    "h": 280.4
  },
  "luminance": 0.04391
}

Semantic roles & 50–950 ramp

primary
#37229D
secondary
#AFC15A
accent
#E740CB
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #37229D

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

Preview Lab → · Contrast checker → · Palette generator →

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