#37207C#37207C

#37207C is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.6% C 0.146 H 287.2°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#37207C
RGBrgb(55, 32, 124)
HSLhsl(255, 59%, 31%)
HSVhsv(255, 74%, 49%)
CMYKcmyk(55.6%, 74.2%, 0%, 51.4%)
CIE-LABlab(21.21, 35.66, -48.39)
CIE-LCHlch(21.21, 60.11, 306.39°)
OKLaboklab(33.65% 0.0432 -0.1391)
OKLCHoklch(33.65% 0.146 287.2)
XYZxyz(5.7291, 3.3002, 19.4000)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37207C #657C20
analogous
#20377C #37207C #65207C
triadic
#37207C #7C3720 #207C37
tetradic
#37207C #7C2037 #657C20 #207C65
square
#37207C #7C2037 #657C20 #207C65
split-complementary
#37207C #7C6520 #377C20
monochromatic
#0C071B #21134B #37207C #4D2DAD #6947CF

Accessibility & contrast

On white

12.65
#37207C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#37207C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37207C
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37207C#FFFFFF#000000##FFFFFF
##37207C1.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357F
Deuteranopia (green-blind)
#00307A
Tritanopia (blue-blind)
#1B384C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #37207c;
/* rgb */ color: rgb(55, 32, 124);
/* oklch */ color: oklch(33.6% 0.146 287.2);
Tailwind
colors: {
  custom: {
    50: '#765ea3',
    500: '#37207c',
    950: '#000000',
  },
}
SCSS
$custom: #37207c;
$custom-light: #765ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#37207c",
  "rgb": {
    "r": 55,
    "g": 32,
    "b": 124
  },
  "hsl": {
    "h": 255,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.33645,
    "c": 0.14566,
    "h": 287.2
  },
  "luminance": 0.033
}

Semantic roles & 50–950 ramp

primary
#37207C
secondary
#95AF49
accent
#E246BB
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #37207C

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

Preview Lab → · Contrast checker → · Palette generator →

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