#37147E#37147E

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

Color values

HEX#37147E
RGBrgb(55, 20, 126)
HSLhsl(260, 73%, 29%)
HSVhsv(260, 84%, 49%)
CMYKcmyk(56.3%, 84.1%, 0%, 50.6%)
CIE-LABlab(19.30, 42.28, -52.79)
CIE-LCHlch(19.30, 67.64, 308.69°)
OKLaboklab(32.37% 0.052 -0.1519)
OKLCHoklch(32.37% 0.161 288.9)
XYZxyz(5.5905, 2.8186, 19.9841)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37147E #5B7E14
analogous
#14267E #37147E #6C147E
triadic
#37147E #7E3714 #147E37
tetradic
#37147E #7E1426 #5B7E14 #147E6C
square
#37147E #7E1426 #5B7E14 #147E6C
split-complementary
#37147E #7E6C14 #267E14
monochromatic
#0C041A #200C49 #37147E #4E1CB3 #682EDE

Accessibility & contrast

On white

13.43
#37147E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #37147E
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37147E#FFFFFF#000000##FFFFFF
##37147E1.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #37147e;
/* rgb */ color: rgb(55, 20, 126);
/* oklch */ color: oklch(32.4% 0.161 288.9);
Tailwind
colors: {
  custom: {
    50: '#7757a4',
    500: '#37147e',
    950: '#000000',
  },
}
SCSS
$custom: #37147e;
$custom-light: #7757a4;
$custom-dark: #000000;
JSON
{
  "hex": "#37147e",
  "rgb": {
    "r": 55,
    "g": 20,
    "b": 126
  },
  "hsl": {
    "h": 259.811,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32371,
    "c": 0.16054,
    "h": 288.9
  },
  "luminance": 0.02819
}

Semantic roles & 50–950 ramp

primary
#37147E
secondary
#8BB33A
accent
#EF38B3
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A030F
muted
#7C787F

Preview Lab

Preview with #37147E

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

Preview Lab → · Contrast checker → · Palette generator →

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