#37207E#37207E

#37207E is a dark, vivid violet. Relative luminance 0.034; OKLCH L 33.8% C 0.148 H 286.7°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#37207E
RGBrgb(55, 32, 126)
HSLhsl(255, 59%, 31%)
HSVhsv(255, 75%, 49%)
CMYKcmyk(56.3%, 74.6%, 0%, 50.6%)
CIE-LABlab(21.40, 36.29, -49.35)
CIE-LCHlch(21.40, 61.25, 306.33°)
OKLaboklab(33.84% 0.0427 -0.1419)
OKLCHoklch(33.84% 0.148 286.7)
XYZxyz(5.8568, 3.3513, 20.0729)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37207E #677E20
analogous
#20387E #37207E #66207E
triadic
#37207E #7E3720 #207E37
tetradic
#37207E #7E2038 #677E20 #207E66
square
#37207E #7E2038 #677E20 #207E66
split-complementary
#37207E #7E6620 #387E20
monochromatic
#0C071C #22144D #37207E #4C2CAF #6948D0

Accessibility & contrast

On white

12.57
#37207E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#37207E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37207E
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37207E#FFFFFF#000000##FFFFFF
##37207E1.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003681
Deuteranopia (green-blind)
#00317C
Tritanopia (blue-blind)
#19394D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #37207e;
/* rgb */ color: rgb(55, 32, 126);
/* oklch */ color: oklch(33.8% 0.148 286.7);
Tailwind
colors: {
  custom: {
    50: '#765ea4',
    500: '#37207e',
    950: '#000000',
  },
}
SCSS
$custom: #37207e;
$custom-light: #765ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#37207e",
  "rgb": {
    "r": 55,
    "g": 32,
    "b": 126
  },
  "hsl": {
    "h": 254.681,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.33839,
    "c": 0.1482,
    "h": 286.7
  },
  "luminance": 0.03352
}

Semantic roles & 50–950 ramp

primary
#37207E
secondary
#97B149
accent
#E345BC
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #37207E

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

Preview Lab → · Contrast checker → · Palette generator →

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