#37115D#37115D

#37115D is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.7% C 0.126 H 301.4°. Best body text is #FFFFFF at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#37115D
RGBrgb(55, 17, 93)
HSLhsl(270, 69%, 22%)
HSVhsv(270, 82%, 36%)
CMYKcmyk(40.9%, 81.7%, 0%, 63.5%)
CIE-LABlab(15.51, 34.44, -37.52)
CIE-LCHlch(15.51, 50.93, 312.55°)
OKLaboklab(28.72% 0.0654 -0.1071)
OKLCHoklch(28.72% 0.126 301.4)
XYZxyz(3.7513, 2.0034, 10.5429)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37115D #375D11
analogous
#11115D #37115D #5D115D
triadic
#37115D #5D3711 #115D37
tetradic
#37115D #5D1111 #375D11 #115D5D
square
#37115D #5D1111 #375D11 #115D5D
split-complementary
#37115D #5D5D11 #115D11
monochromatic
#0F051A #180829 #37115D #561A91 #7424C4

Accessibility & contrast

On white

14.99
#37115D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#37115D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37115D
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37115D#FFFFFF#000000##FFFFFF
##37115D1.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265F
Deuteranopia (green-blind)
#00265C
Tritanopia (blue-blind)
#2F2536
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #37115d;
/* rgb */ color: rgb(55, 17, 93);
/* oklch */ color: oklch(28.7% 0.126 301.4);
Tailwind
colors: {
  custom: {
    50: '#72548c',
    500: '#37115d',
    950: '#000000',
  },
}
SCSS
$custom: #37115d;
$custom-light: #72548c;
$custom-dark: #000000;
JSON
{
  "hex": "#37115d",
  "rgb": {
    "r": 55,
    "g": 17,
    "b": 93
  },
  "hsl": {
    "h": 270,
    "s": 69.091,
    "l": 21.569
  },
  "oklch": {
    "l": 0.28718,
    "c": 0.12552,
    "h": 301.4
  },
  "luminance": 0.02003
}

Semantic roles & 50–950 ramp

primary
#37115D
secondary
#659634
accent
#EC3C94
background
#F7F5F8
surface
#EDE8F0
border
#C8C4CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #37115D

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

Preview Lab → · Contrast checker → · Palette generator →

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