#37229E#37229E

#37229E is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.4% C 0.186 H 280.2°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#37229E
RGBrgb(55, 34, 158)
HSLhsl(250, 65%, 38%)
HSVhsv(250, 78%, 62%)
CMYKcmyk(65.2%, 78.5%, 0%, 38%)
CIE-LABlab(25.03, 45.14, -63.28)
CIE-LCHlch(25.03, 77.73, 305.50°)
OKLaboklab(37.37% 0.033 -0.1826)
OKLCHoklch(37.37% 0.186 280.2)
XYZxyz(8.3172, 4.4242, 32.7568)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37229E #899E22
analogous
#224B9E #37229E #75229E
triadic
#37229E #9E3722 #229E37
tetradic
#37229E #9E224B #899E22 #229E75
square
#37229E #9E224B #899E22 #229E75
split-complementary
#37229E #9E7522 #4B9E22
monochromatic
#140C39 #25176C #37229E #492DD0 #735EDC

Accessibility & contrast

On white

11.14
#37229E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#37229E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37229E
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37229E#FFFFFF#000000##FFFFFF
##37229E1.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A1
Deuteranopia (green-blind)
#00379C
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #37229e;
/* rgb */ color: rgb(55, 34, 158);
/* oklch */ color: oklch(37.4% 0.186 280.2);
Tailwind
colors: {
  custom: {
    50: '#7c61bc',
    500: '#37229e',
    950: '#000000',
  },
}
SCSS
$custom: #37229e;
$custom-light: #7c61bc;
$custom-dark: #000000;
JSON
{
  "hex": "#37229e",
  "rgb": {
    "r": 55,
    "g": 34,
    "b": 158
  },
  "hsl": {
    "h": 250.161,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37373,
    "c": 0.1856,
    "h": 280.2
  },
  "luminance": 0.04425
}

Semantic roles & 50–950 ramp

primary
#37229E
secondary
#B0C15B
accent
#E840CB
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #37229E

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

Preview Lab → · Contrast checker → · Palette generator →

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