#37115F#37115F

#37115F is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.9% C 0.128 H 300.5°. Best body text is #FFFFFF at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#37115F
RGBrgb(55, 17, 95)
HSLhsl(269, 70%, 22%)
HSVhsv(269, 82%, 37%)
CMYKcmyk(42.1%, 82.1%, 0%, 62.7%)
CIE-LABlab(15.69, 34.98, -38.55)
CIE-LCHlch(15.69, 52.05, 312.22°)
OKLaboklab(28.91% 0.0649 -0.1101)
OKLCHoklch(28.91% 0.128 300.5)
XYZxyz(3.8410, 2.0393, 11.0155)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37115F #395F11
analogous
#11125F #37115F #5E115F
triadic
#37115F #5F3711 #115F37
tetradic
#37115F #5F1112 #395F11 #115F5E
square
#37115F #5F1112 #395F11 #115F5E
split-complementary
#37115F #5F5E11 #125F11
monochromatic
#0F051A #19082B #37115F #551A93 #7324C7

Accessibility & contrast

On white

14.92
#37115F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#37115F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37115F
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37115F#FFFFFF#000000##FFFFFF
##37115F1.0014.921.4114.92
#FFFFFF14.921.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002761
Deuteranopia (green-blind)
#00275D
Tritanopia (blue-blind)
#2E2637
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #37115f;
/* rgb */ color: rgb(55, 17, 95);
/* oklch */ color: oklch(28.9% 0.128 300.5);
Tailwind
colors: {
  custom: {
    50: '#73548d',
    500: '#37115f',
    950: '#000000',
  },
}
SCSS
$custom: #37115f;
$custom-light: #73548d;
$custom-dark: #000000;
JSON
{
  "hex": "#37115f",
  "rgb": {
    "r": 55,
    "g": 17,
    "b": 95
  },
  "hsl": {
    "h": 269.231,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.28907,
    "c": 0.12782,
    "h": 300.5
  },
  "luminance": 0.02039
}

Semantic roles & 50–950 ramp

primary
#37115F
secondary
#679834
accent
#EC3B96
background
#F7F5F8
surface
#EDE8F0
border
#C8C4CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #37115F

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

Preview Lab → · Contrast checker → · Palette generator →

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