#37115C#37115C

#37115C is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.6% C 0.124 H 301.9°. Best body text is #FFFFFF at 15.03:1 contrast (WCAG AA passes).

Color values

HEX#37115C
RGBrgb(55, 17, 92)
HSLhsl(270, 69%, 21%)
HSVhsv(270, 82%, 36%)
CMYKcmyk(40.2%, 81.5%, 0%, 63.9%)
CIE-LABlab(15.41, 34.17, -37.00)
CIE-LCHlch(15.41, 50.37, 312.72°)
OKLaboklab(28.62% 0.0657 -0.1056)
OKLCHoklch(28.62% 0.124 301.9)
XYZxyz(3.7073, 1.9858, 10.3111)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37115C #365C11
analogous
#12115C #37115C #5C115C
triadic
#37115C #5C3711 #115C37
tetradic
#37115C #5C1211 #365C11 #115C5C
square
#37115C #5C1211 #365C11 #115C5C
split-complementary
#37115C #5C5C11 #115C12
monochromatic
#0F051A #180728 #37115C #561B90 #7524C3

Accessibility & contrast

On white

15.03
#37115C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #37115C
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37115C#FFFFFF#000000##FFFFFF
##37115C1.0015.031.4015.03
#FFFFFF15.031.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265E
Deuteranopia (green-blind)
#00265B
Tritanopia (blue-blind)
#2F2436
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #37115c;
/* rgb */ color: rgb(55, 17, 92);
/* oklch */ color: oklch(28.6% 0.124 301.9);
Tailwind
colors: {
  custom: {
    50: '#72548b',
    500: '#37115c',
    950: '#000000',
  },
}
SCSS
$custom: #37115c;
$custom-light: #72548b;
$custom-dark: #000000;
JSON
{
  "hex": "#37115c",
  "rgb": {
    "r": 55,
    "g": 17,
    "b": 92
  },
  "hsl": {
    "h": 270.4,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.28624,
    "c": 0.12437,
    "h": 301.9
  },
  "luminance": 0.01986
}

Semantic roles & 50–950 ramp

primary
#37115C
secondary
#649534
accent
#EC3C93
background
#F7F4F8
surface
#EDE8F0
border
#C8C4CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #37115C

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

Preview Lab → · Contrast checker → · Palette generator →

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