#37157A#37157A

#37157A is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.1% C 0.155 H 289.9°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#37157A
RGBrgb(55, 21, 122)
HSLhsl(260, 71%, 28%)
HSVhsv(260, 83%, 48%)
CMYKcmyk(54.9%, 82.8%, 0%, 52.2%)
CIE-LABlab(19.03, 40.70, -50.69)
CIE-LCHlch(19.03, 65.01, 308.76°)
OKLaboklab(32.05% 0.0527 -0.1458)
OKLCHoklch(32.05% 0.155 289.9)
XYZxyz(5.3555, 2.7535, 18.6579)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37157A #587A15
analogous
#15257A #37157A #69157A
triadic
#37157A #7A3715 #157A37
tetradic
#37157A #7A1525 #587A15 #157A69
square
#37157A #7A1525 #587A15 #157A69
split-complementary
#37157A #7A6915 #257A15
monochromatic
#0C041A #1F0C46 #37157A #4F1EAE #682EDB

Accessibility & contrast

On white

13.54
#37157A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#37157A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37157A
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37157A#FFFFFF#000000##FFFFFF
##37157A1.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #37157a;
/* rgb */ color: rgb(55, 21, 122);
/* oklch */ color: oklch(32.1% 0.155 289.9);
Tailwind
colors: {
  custom: {
    50: '#7658a1',
    500: '#37157a',
    950: '#000000',
  },
}
SCSS
$custom: #37157a;
$custom-light: #7658a1;
$custom-dark: #000000;
JSON
{
  "hex": "#37157a",
  "rgb": {
    "r": 55,
    "g": 21,
    "b": 122
  },
  "hsl": {
    "h": 260.198,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.32054,
    "c": 0.15501,
    "h": 289.9
  },
  "luminance": 0.02754
}

Semantic roles & 50–950 ramp

primary
#37157A
secondary
#88AF3B
accent
#ED3AB1
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #37157A

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

Preview Lab → · Contrast checker → · Palette generator →

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