#37137E#37137E

#37137E is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.3% C 0.161 H 289.0°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#37137E
RGBrgb(55, 19, 126)
HSLhsl(260, 74%, 28%)
HSVhsv(260, 85%, 49%)
CMYKcmyk(56.3%, 84.9%, 0%, 50.6%)
CIE-LABlab(19.16, 42.71, -53.03)
CIE-LCHlch(19.16, 68.09, 308.85°)
OKLaboklab(32.27% 0.0526 -0.1526)
OKLCHoklch(32.27% 0.161 289)
XYZxyz(5.5732, 2.7841, 19.9783)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37137E #5A7E13
analogous
#13247E #37137E #6C137E
triadic
#37137E #7E3713 #137E37
tetradic
#37137E #7E1324 #5A7E13 #137E6C
square
#37137E #7E1324 #5A7E13 #137E6C
split-complementary
#37137E #7E6C13 #247E13
monochromatic
#0C041B #200B49 #37137E #4E1BB3 #682CDF

Accessibility & contrast

On white

13.49
#37137E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#37137E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37137E
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37137E#FFFFFF#000000##FFFFFF
##37137E1.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003181
Deuteranopia (green-blind)
#002C7C
Tritanopia (blue-blind)
#1A344A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #37137e;
/* rgb */ color: rgb(55, 19, 126);
/* oklch */ color: oklch(32.3% 0.161 289.0);
Tailwind
colors: {
  custom: {
    50: '#7757a4',
    500: '#37137e',
    950: '#000000',
  },
}
SCSS
$custom: #37137e;
$custom-light: #7757a4;
$custom-dark: #000000;
JSON
{
  "hex": "#37137e",
  "rgb": {
    "r": 55,
    "g": 19,
    "b": 126
  },
  "hsl": {
    "h": 260.187,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32272,
    "c": 0.1614,
    "h": 289
  },
  "luminance": 0.02784
}

Semantic roles & 50–950 ramp

primary
#37137E
secondary
#8AB439
accent
#F037B2
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A030F
muted
#7C787F

Preview Lab

Preview with #37137E

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

Preview Lab → · Contrast checker → · Palette generator →

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