#37157C#37157C

#37157C is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.3% C 0.157 H 289.3°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#37157C
RGBrgb(55, 21, 124)
HSLhsl(260, 71%, 28%)
HSVhsv(260, 83%, 49%)
CMYKcmyk(55.6%, 83.1%, 0%, 51.4%)
CIE-LABlab(19.24, 41.28, -51.62)
CIE-LCHlch(19.24, 66.10, 308.64°)
OKLaboklab(32.26% 0.052 -0.1485)
OKLCHoklch(32.26% 0.157 289.3)
XYZxyz(5.4807, 2.8035, 19.3172)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37157C #5A7C15
analogous
#15267C #37157C #6A157C
triadic
#37157C #7C3715 #157C37
tetradic
#37157C #7C1526 #5A7C15 #157C6A
square
#37157C #7C1526 #5A7C15 #157C6A
split-complementary
#37157C #7C6A15 #267C15
monochromatic
#0C041A #200C48 #37157C #4E1EB0 #6830DC

Accessibility & contrast

On white

13.45
#37157C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #37157C
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37157C#FFFFFF#000000##FFFFFF
##37157C1.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317F
Deuteranopia (green-blind)
#002C7A
Tritanopia (blue-blind)
#1C3449
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #37157c;
/* rgb */ color: rgb(55, 21, 124);
/* oklch */ color: oklch(32.3% 0.157 289.3);
Tailwind
colors: {
  custom: {
    50: '#7758a3',
    500: '#37157c',
    950: '#000000',
  },
}
SCSS
$custom: #37157c;
$custom-light: #7758a3;
$custom-dark: #000000;
JSON
{
  "hex": "#37157c",
  "rgb": {
    "r": 55,
    "g": 21,
    "b": 124
  },
  "hsl": {
    "h": 259.806,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32264,
    "c": 0.15734,
    "h": 289.3
  },
  "luminance": 0.02804
}

Semantic roles & 50–950 ramp

primary
#37157C
secondary
#8AB13C
accent
#EE3AB2
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #37157C

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

Preview Lab → · Contrast checker → · Palette generator →

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