#37115B#37115B

#37115B is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.5% C 0.123 H 302.4°. Best body text is #FFFFFF at 15.07:1 contrast (WCAG AA passes).

Color values

HEX#37115B
RGBrgb(55, 17, 91)
HSLhsl(271, 69%, 21%)
HSVhsv(271, 81%, 36%)
CMYKcmyk(39.6%, 81.3%, 0%, 64.3%)
CIE-LABlab(15.32, 33.90, -36.48)
CIE-LCHlch(15.32, 49.80, 312.90°)
OKLaboklab(28.53% 0.066 -0.1041)
OKLCHoklch(28.53% 0.123 302.4)
XYZxyz(3.6639, 1.9684, 10.0824)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37115B #355B11
analogous
#12115B #37115B #5B115A
triadic
#37115B #5B3711 #115B37
tetradic
#37115B #5B1211 #355B11 #115A5B
square
#37115B #5B1211 #355B11 #115A5B
split-complementary
#37115B #5A5B11 #115B12
monochromatic
#10051A #180727 #37115B #561B8F #7524C2

Accessibility & contrast

On white

15.07
#37115B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#37115B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37115B
15.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37115B#FFFFFF#000000##FFFFFF
##37115B1.0015.071.3915.07
#FFFFFF15.071.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265D
Deuteranopia (green-blind)
#00265A
Tritanopia (blue-blind)
#2F2435
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #37115b;
/* rgb */ color: rgb(55, 17, 91);
/* oklch */ color: oklch(28.5% 0.123 302.4);
Tailwind
colors: {
  custom: {
    50: '#72548a',
    500: '#37115b',
    950: '#000000',
  },
}
SCSS
$custom: #37115b;
$custom-light: #72548a;
$custom-dark: #000000;
JSON
{
  "hex": "#37115b",
  "rgb": {
    "r": 55,
    "g": 17,
    "b": 91
  },
  "hsl": {
    "h": 270.811,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.28531,
    "c": 0.12322,
    "h": 302.4
  },
  "luminance": 0.01968
}

Semantic roles & 50–950 ramp

primary
#37115B
secondary
#639434
accent
#EB3C92
background
#F7F4F8
surface
#EDE8F0
border
#C8C4CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #37115B

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

Preview Lab → · Contrast checker → · Palette generator →

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