#37229B#37229B

#37229B is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.182 H 280.7°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#37229B
RGBrgb(55, 34, 155)
HSLhsl(250, 64%, 37%)
HSVhsv(250, 78%, 61%)
CMYKcmyk(64.5%, 78.1%, 0%, 39.2%)
CIE-LABlab(24.71, 44.22, -61.97)
CIE-LCHlch(24.71, 76.12, 305.51°)
OKLaboklab(37.06% 0.0338 -0.1788)
OKLCHoklch(37.06% 0.182 280.7)
XYZxyz(8.0621, 4.3222, 31.4134)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37229B #869B22
analogous
#224A9B #37229B #74229B
triadic
#37229B #9B3722 #229B37
tetradic
#37229B #9B224A #869B22 #229B74
square
#37229B #9B224A #869B22 #229B74
split-complementary
#37229B #9B7422 #4A9B22
monochromatic
#130C37 #251769 #37229B #492DCD #725CDB

Accessibility & contrast

On white

11.26
#37229B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#37229B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37229B
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37229B#FFFFFF#000000##FFFFFF
##37229B1.0011.261.8611.26
#FFFFFF11.261.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9E
Deuteranopia (green-blind)
#003699
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #37229b;
/* rgb */ color: rgb(55, 34, 155);
/* oklch */ color: oklch(37.1% 0.182 280.7);
Tailwind
colors: {
  custom: {
    50: '#7c60ba',
    500: '#37229b',
    950: '#000000',
  },
}
SCSS
$custom: #37229b;
$custom-light: #7c60ba;
$custom-dark: #000000;
JSON
{
  "hex": "#37229b",
  "rgb": {
    "r": 55,
    "g": 34,
    "b": 155
  },
  "hsl": {
    "h": 250.413,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37056,
    "c": 0.18199,
    "h": 280.7
  },
  "luminance": 0.04323
}

Semantic roles & 50–950 ramp

primary
#37229B
secondary
#AEC059
accent
#E741CA
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #37229B

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

Preview Lab → · Contrast checker → · Palette generator →

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