#37159E#37159E

#37159E is a dark, vivid violet. Relative luminance 0.038; OKLCH L 36.0% C 0.196 H 281.6°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#37159E
RGBrgb(55, 21, 158)
HSLhsl(255, 77%, 35%)
HSVhsv(255, 87%, 62%)
CMYKcmyk(65.2%, 86.7%, 0%, 38%)
CIE-LABlab(23.06, 50.90, -66.54)
CIE-LCHlch(23.06, 83.77, 307.42°)
OKLaboklab(36.01% 0.0394 -0.1919)
OKLCHoklch(36.01% 0.196 281.6)
XYZxyz(8.0133, 3.8166, 32.6555)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37159E #7C9E15
analogous
#15379E #37159E #7C159E
triadic
#37159E #9E3715 #159E37
tetradic
#37159E #9E1537 #7C9E15 #159E7C
square
#37159E #9E1537 #7C9E15 #159E7C
split-complementary
#37159E #9E7C15 #379E15
monochromatic
#110732 #240E68 #37159E #4A1CD4 #6E47E7

Accessibility & contrast

On white

11.91
#37159E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#37159E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37159E
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37159E#FFFFFF#000000##FFFFFF
##37159E1.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA2
Deuteranopia (green-blind)
#00329C
Tritanopia (blue-blind)
#00425D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #37159e;
/* rgb */ color: rgb(55, 21, 158);
/* oklch */ color: oklch(36.0% 0.196 281.6);
Tailwind
colors: {
  custom: {
    50: '#7d5abc',
    500: '#37159e',
    950: '#000000',
  },
}
SCSS
$custom: #37159e;
$custom-light: #7d5abc;
$custom-dark: #000000;
JSON
{
  "hex": "#37159e",
  "rgb": {
    "r": 55,
    "g": 21,
    "b": 158
  },
  "hsl": {
    "h": 254.891,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36011,
    "c": 0.19595,
    "h": 281.6
  },
  "luminance": 0.03817
}

Semantic roles & 50–950 ramp

primary
#37159E
secondary
#A8C747
accent
#F335C4
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #37159E

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

Preview Lab → · Contrast checker → · Palette generator →

#37159E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva