#37157D#37157D

#37157D is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.4% C 0.159 H 289.0°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#37157D
RGBrgb(55, 21, 125)
HSLhsl(260, 71%, 29%)
HSVhsv(260, 83%, 49%)
CMYKcmyk(56%, 83.2%, 0%, 51%)
CIE-LABlab(19.35, 41.56, -52.09)
CIE-LCHlch(19.35, 66.63, 308.59°)
OKLaboklab(32.37% 0.0517 -0.1498)
OKLCHoklch(32.37% 0.159 289)
XYZxyz(5.5443, 2.8290, 19.6520)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37157D #5B7D15
analogous
#15277D #37157D #6B157D
triadic
#37157D #7D3715 #157D37
tetradic
#37157D #7D1527 #5B7D15 #157D6B
square
#37157D #7D1527 #5B7D15 #157D6B
split-complementary
#37157D #7D6B15 #277D15
monochromatic
#0C041A #200C49 #37157D #4E1EB1 #6830DC

Accessibility & contrast

On white

13.41
#37157D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#37157D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37157D
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37157D#FFFFFF#000000##FFFFFF
##37157D1.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003180
Deuteranopia (green-blind)
#002C7B
Tritanopia (blue-blind)
#1B344A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #37157d;
/* rgb */ color: rgb(55, 21, 125);
/* oklch */ color: oklch(32.4% 0.159 289.0);
Tailwind
colors: {
  custom: {
    50: '#7758a4',
    500: '#37157d',
    950: '#000000',
  },
}
SCSS
$custom: #37157d;
$custom-light: #7758a4;
$custom-dark: #000000;
JSON
{
  "hex": "#37157d",
  "rgb": {
    "r": 55,
    "g": 21,
    "b": 125
  },
  "hsl": {
    "h": 259.615,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32369,
    "c": 0.1585,
    "h": 289
  },
  "luminance": 0.02829
}

Semantic roles & 50–950 ramp

primary
#37157D
secondary
#8BB23C
accent
#EE3AB3
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A030F
muted
#7C787F

Preview Lab

Preview with #37157D

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

Preview Lab → · Contrast checker → · Palette generator →

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