#37115E#37115E

#37115E is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.8% C 0.127 H 300.9°. Best body text is #FFFFFF at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#37115E
RGBrgb(55, 17, 94)
HSLhsl(270, 69%, 22%)
HSVhsv(270, 82%, 37%)
CMYKcmyk(41.5%, 81.9%, 0%, 63.1%)
CIE-LABlab(15.60, 34.71, -38.04)
CIE-LCHlch(15.60, 51.49, 312.38°)
OKLaboklab(28.81% 0.0651 -0.1086)
OKLCHoklch(28.81% 0.127 300.9)
XYZxyz(3.7959, 2.0212, 10.7777)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37115E #385E11
analogous
#11125E #37115E #5E115E
triadic
#37115E #5E3711 #115E37
tetradic
#37115E #5E1112 #385E11 #115E5E
square
#37115E #5E1112 #385E11 #115E5E
split-complementary
#37115E #5E5E11 #125E11
monochromatic
#0F051A #19082A #37115E #551A92 #7424C6

Accessibility & contrast

On white

14.96
#37115E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #37115E
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37115E#FFFFFF#000000##FFFFFF
##37115E1.0014.961.4014.96
#FFFFFF14.961.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #37115e;
/* rgb */ color: rgb(55, 17, 94);
/* oklch */ color: oklch(28.8% 0.127 300.9);
Tailwind
colors: {
  custom: {
    50: '#72548c',
    500: '#37115e',
    950: '#000000',
  },
}
SCSS
$custom: #37115e;
$custom-light: #72548c;
$custom-dark: #000000;
JSON
{
  "hex": "#37115e",
  "rgb": {
    "r": 55,
    "g": 17,
    "b": 94
  },
  "hsl": {
    "h": 269.61,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.28812,
    "c": 0.12667,
    "h": 300.9
  },
  "luminance": 0.02021
}

Semantic roles & 50–950 ramp

primary
#37115E
secondary
#669734
accent
#EC3C95
background
#F7F5F8
surface
#EDE8F0
border
#C8C4CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #37115E

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

Preview Lab → · Contrast checker → · Palette generator →

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