#37208F#37208F

#37208F is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.5% C 0.169 H 283.1°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#37208F
RGBrgb(55, 32, 143)
HSLhsl(252, 63%, 34%)
HSVhsv(252, 78%, 56%)
CMYKcmyk(61.5%, 77.6%, 0%, 43.9%)
CIE-LABlab(23.09, 41.56, -57.23)
CIE-LCHlch(23.09, 70.72, 305.99°)
OKLaboklab(35.55% 0.0384 -0.165)
OKLCHoklch(35.55% 0.169 283.1)
XYZxyz(7.0484, 3.8279, 26.3487)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37208F #788F20
analogous
#20418F #37208F #6F208F
triadic
#37208F #8F3720 #208F37
tetradic
#37208F #8F2041 #788F20 #208F6F
square
#37208F #8F2041 #788F20 #208F6F
split-complementary
#37208F #8F6F20 #418F20
monochromatic
#110A2B #24155D #37208F #4A2BC1 #6D51D8

Accessibility & contrast

On white

11.89
#37208F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#37208F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37208F
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37208F#FFFFFF#000000##FFFFFF
##37208F1.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A92
Deuteranopia (green-blind)
#00338D
Tritanopia (blue-blind)
#004056
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #37208f;
/* rgb */ color: rgb(55, 32, 143);
/* oklch */ color: oklch(35.5% 0.169 283.1);
Tailwind
colors: {
  custom: {
    50: '#795fb1',
    500: '#37208f',
    950: '#000000',
  },
}
SCSS
$custom: #37208f;
$custom-light: #795fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#37208f",
  "rgb": {
    "r": 55,
    "g": 32,
    "b": 143
  },
  "hsl": {
    "h": 252.432,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35549,
    "c": 0.16938,
    "h": 283.1
  },
  "luminance": 0.03828
}

Semantic roles & 50–950 ramp

primary
#37208F
secondary
#A5BB4F
accent
#E641C4
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #37208F

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

Preview Lab → · Contrast checker → · Palette generator →

#37208F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva