#37207D#37207D

#37207D is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.7% C 0.147 H 287.0°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#37207D
RGBrgb(55, 32, 125)
HSLhsl(255, 59%, 31%)
HSVhsv(255, 74%, 49%)
CMYKcmyk(56%, 74.4%, 0%, 51%)
CIE-LABlab(21.30, 35.97, -48.87)
CIE-LCHlch(21.30, 60.68, 306.36°)
OKLaboklab(33.74% 0.0429 -0.1405)
OKLCHoklch(33.74% 0.147 287)
XYZxyz(5.7926, 3.3256, 19.7347)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37207D #667D20
analogous
#20377D #37207D #65207D
triadic
#37207D #7D3720 #207D37
tetradic
#37207D #7D2037 #667D20 #207D65
square
#37207D #7D2037 #667D20 #207D65
split-complementary
#37207D #7D6520 #377D20
monochromatic
#0C071C #22144C #37207D #4C2CAE #6947D0

Accessibility & contrast

On white

12.61
#37207D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #37207D
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37207D#FFFFFF#000000##FFFFFF
##37207D1.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003580
Deuteranopia (green-blind)
#00317B
Tritanopia (blue-blind)
#1A394C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #37207d;
/* rgb */ color: rgb(55, 32, 125);
/* oklch */ color: oklch(33.7% 0.147 287.0);
Tailwind
colors: {
  custom: {
    50: '#765ea4',
    500: '#37207d',
    950: '#000000',
  },
}
SCSS
$custom: #37207d;
$custom-light: #765ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#37207d",
  "rgb": {
    "r": 55,
    "g": 32,
    "b": 125
  },
  "hsl": {
    "h": 254.839,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.33742,
    "c": 0.14693,
    "h": 287
  },
  "luminance": 0.03326
}

Semantic roles & 50–950 ramp

primary
#37207D
secondary
#96B049
accent
#E245BC
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #37207D

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

Preview Lab → · Contrast checker → · Palette generator →

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