#37115A#37115A

#37115A is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.4% C 0.122 H 302.9°. Best body text is #FFFFFF at 15.11:1 contrast (WCAG AA passes).

Color values

HEX#37115A
RGBrgb(55, 17, 90)
HSLhsl(271, 68%, 21%)
HSVhsv(271, 81%, 35%)
CMYKcmyk(38.9%, 81.1%, 0%, 64.7%)
CIE-LABlab(15.23, 33.63, -35.96)
CIE-LCHlch(15.23, 49.23, 313.08°)
OKLaboklab(28.44% 0.0662 -0.1025)
OKLCHoklch(28.44% 0.122 302.9)
XYZxyz(3.6210, 1.9513, 9.8567)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37115A #345A11
analogous
#12115A #37115A #5A1158
triadic
#37115A #5A3711 #115A37
tetradic
#37115A #5A1211 #345A11 #11585A
square
#37115A #5A1211 #345A11 #11585A
split-complementary
#37115A #585A11 #115A12
monochromatic
#10051A #180727 #37115A #561B8D #7624C1

Accessibility & contrast

On white

15.11
#37115A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #37115A
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37115A#FFFFFF#000000##FFFFFF
##37115A1.0015.111.3915.11
#FFFFFF15.111.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255C
Deuteranopia (green-blind)
#002659
Tritanopia (blue-blind)
#302435
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #37115a;
/* rgb */ color: rgb(55, 17, 90);
/* oklch */ color: oklch(28.4% 0.122 302.9);
Tailwind
colors: {
  custom: {
    50: '#725489',
    500: '#37115a',
    950: '#000000',
  },
}
SCSS
$custom: #37115a;
$custom-light: #725489;
$custom-dark: #000000;
JSON
{
  "hex": "#37115a",
  "rgb": {
    "r": 55,
    "g": 17,
    "b": 90
  },
  "hsl": {
    "h": 271.233,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.28438,
    "c": 0.12207,
    "h": 302.9
  },
  "luminance": 0.01951
}

Semantic roles & 50–950 ramp

primary
#37115A
secondary
#619334
accent
#EB3D90
background
#F7F4F8
surface
#EDE8F0
border
#C8C4CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #37115A

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

Preview Lab → · Contrast checker → · Palette generator →

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