#37208A#37208A

#37208A is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.0% C 0.163 H 284.1°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#37208A
RGBrgb(55, 32, 138)
HSLhsl(253, 62%, 33%)
HSVhsv(253, 77%, 54%)
CMYKcmyk(60.1%, 76.8%, 0%, 45.9%)
CIE-LABlab(22.58, 40.01, -54.95)
CIE-LCHlch(22.58, 67.98, 306.06°)
OKLaboklab(35.04% 0.0397 -0.1583)
OKLCHoklch(35.04% 0.163 284.1)
XYZxyz(6.6781, 3.6798, 24.3982)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37208A #738A20
analogous
#203E8A #37208A #6C208A
triadic
#37208A #8A3720 #208A37
tetradic
#37208A #8A203E #738A20 #208A6C
square
#37208A #8A203E #738A20 #208A6C
split-complementary
#37208A #8A6C20 #3E8A20
monochromatic
#0F0927 #231458 #37208A #4B2CBC #6C4ED6

Accessibility & contrast

On white

12.10
#37208A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#37208A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37208A
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37208A#FFFFFF#000000##FFFFFF
##37208A1.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398D
Deuteranopia (green-blind)
#003288
Tritanopia (blue-blind)
#053E53
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #37208a;
/* rgb */ color: rgb(55, 32, 138);
/* oklch */ color: oklch(35.0% 0.163 284.1);
Tailwind
colors: {
  custom: {
    50: '#785ead',
    500: '#37208a',
    950: '#000000',
  },
}
SCSS
$custom: #37208a;
$custom-light: #785ead;
$custom-dark: #000000;
JSON
{
  "hex": "#37208a",
  "rgb": {
    "r": 55,
    "g": 32,
    "b": 138
  },
  "hsl": {
    "h": 253.019,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.35036,
    "c": 0.16325,
    "h": 284.1
  },
  "luminance": 0.0368
}

Semantic roles & 50–950 ramp

primary
#37208A
secondary
#A2B94D
accent
#E542C2
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #37208A

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

Preview Lab → · Contrast checker → · Palette generator →

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