#37208C#37208C

#37208C is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.2% C 0.166 H 283.7°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#37208C
RGBrgb(55, 32, 140)
HSLhsl(253, 63%, 34%)
HSVhsv(253, 77%, 55%)
CMYKcmyk(60.7%, 77.1%, 0%, 45.1%)
CIE-LABlab(22.79, 40.63, -55.87)
CIE-LCHlch(22.79, 69.08, 306.03°)
OKLaboklab(35.24% 0.0392 -0.161)
OKLCHoklch(35.24% 0.166 283.7)
XYZxyz(6.8242, 3.7383, 25.1678)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37208C #758C20
analogous
#203F8C #37208C #6D208C
triadic
#37208C #8C3720 #208C37
tetradic
#37208C #8C203F #758C20 #208C6D
square
#37208C #8C203F #758C20 #208C6D
split-complementary
#37208C #8C6D20 #3F8C20
monochromatic
#100928 #23155A #37208C #4B2BBE #6C50D7

Accessibility & contrast

On white

12.02
#37208C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#37208C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37208C
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37208C#FFFFFF#000000##FFFFFF
##37208C1.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8F
Deuteranopia (green-blind)
#00338A
Tritanopia (blue-blind)
#003F55
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #37208c;
/* rgb */ color: rgb(55, 32, 140);
/* oklch */ color: oklch(35.2% 0.166 283.7);
Tailwind
colors: {
  custom: {
    50: '#795faf',
    500: '#37208c',
    950: '#000000',
  },
}
SCSS
$custom: #37208c;
$custom-light: #795faf;
$custom-dark: #000000;
JSON
{
  "hex": "#37208c",
  "rgb": {
    "r": 55,
    "g": 32,
    "b": 140
  },
  "hsl": {
    "h": 252.778,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.3524,
    "c": 0.16571,
    "h": 283.7
  },
  "luminance": 0.03739
}

Semantic roles & 50–950 ramp

primary
#37208C
secondary
#A3BA4E
accent
#E642C3
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #37208C

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

Preview Lab → · Contrast checker → · Palette generator →

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