#37157B#37157B

#37157B is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.2% C 0.156 H 289.6°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#37157B
RGBrgb(55, 21, 123)
HSLhsl(260, 71%, 28%)
HSVhsv(260, 83%, 48%)
CMYKcmyk(55.3%, 82.9%, 0%, 51.8%)
CIE-LABlab(19.13, 40.99, -51.16)
CIE-LCHlch(19.13, 65.55, 308.70°)
OKLaboklab(32.16% 0.0524 -0.1471)
OKLCHoklch(32.16% 0.156 289.6)
XYZxyz(5.4178, 2.7784, 18.9859)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37157B #597B15
analogous
#15267B #37157B #6A157B
triadic
#37157B #7B3715 #157B37
tetradic
#37157B #7B1526 #597B15 #157B6A
square
#37157B #7B1526 #597B15 #157B6A
split-complementary
#37157B #7B6A15 #267B15
monochromatic
#0C041A #200C47 #37157B #4E1EAF #682FDB

Accessibility & contrast

On white

13.50
#37157B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#37157B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37157B
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37157B#FFFFFF#000000##FFFFFF
##37157B1.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307E
Deuteranopia (green-blind)
#002C79
Tritanopia (blue-blind)
#1D3348
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #37157b;
/* rgb */ color: rgb(55, 21, 123);
/* oklch */ color: oklch(32.2% 0.156 289.6);
Tailwind
colors: {
  custom: {
    50: '#7758a2',
    500: '#37157b',
    950: '#000000',
  },
}
SCSS
$custom: #37157b;
$custom-light: #7758a2;
$custom-dark: #000000;
JSON
{
  "hex": "#37157b",
  "rgb": {
    "r": 55,
    "g": 21,
    "b": 123
  },
  "hsl": {
    "h": 260,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.32159,
    "c": 0.15618,
    "h": 289.6
  },
  "luminance": 0.02779
}

Semantic roles & 50–950 ramp

primary
#37157B
secondary
#89B03B
accent
#EE3AB2
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #37157B

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

Preview Lab → · Contrast checker → · Palette generator →

#37157B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva