#37147F#37147F

#37147F is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.5% C 0.162 H 288.6°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#37147F
RGBrgb(55, 20, 127)
HSLhsl(260, 73%, 29%)
HSVhsv(260, 84%, 50%)
CMYKcmyk(56.7%, 84.3%, 0%, 50.2%)
CIE-LABlab(19.41, 42.57, -53.25)
CIE-LCHlch(19.41, 68.17, 308.64°)
OKLaboklab(32.48% 0.0516 -0.1532)
OKLCHoklch(32.48% 0.162 288.6)
XYZxyz(5.6553, 2.8446, 20.3256)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37147F #5C7F14
analogous
#14277F #37147F #6D147F
triadic
#37147F #7F3714 #147F37
tetradic
#37147F #7F1427 #5C7F14 #147F6D
square
#37147F #7F1427 #5C7F14 #147F6D
split-complementary
#37147F #7F6D14 #277F14
monochromatic
#0B041A #200C4A #37147F #4E1CB4 #682FDE

Accessibility & contrast

On white

13.38
#37147F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#37147F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37147F
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37147F#FFFFFF#000000##FFFFFF
##37147F1.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003182
Deuteranopia (green-blind)
#002C7D
Tritanopia (blue-blind)
#19344B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #37147f;
/* rgb */ color: rgb(55, 20, 127);
/* oklch */ color: oklch(32.5% 0.162 288.6);
Tailwind
colors: {
  custom: {
    50: '#7757a5',
    500: '#37147f',
    950: '#000000',
  },
}
SCSS
$custom: #37147f;
$custom-light: #7757a5;
$custom-dark: #000000;
JSON
{
  "hex": "#37147f",
  "rgb": {
    "r": 55,
    "g": 20,
    "b": 127
  },
  "hsl": {
    "h": 259.626,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32478,
    "c": 0.16169,
    "h": 288.6
  },
  "luminance": 0.02845
}

Semantic roles & 50–950 ramp

primary
#37147F
secondary
#8CB43B
accent
#EF38B4
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A030F
muted
#7C787F

Preview Lab

Preview with #37147F

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

Preview Lab → · Contrast checker → · Palette generator →

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