#37187C#37187C

#37187C is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.6% C 0.154 H 288.8°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#37187C
RGBrgb(55, 24, 124)
HSLhsl(259, 68%, 29%)
HSVhsv(259, 81%, 49%)
CMYKcmyk(55.6%, 80.6%, 0%, 51.4%)
CIE-LABlab(19.72, 39.88, -50.83)
CIE-LCHlch(19.72, 64.60, 308.12°)
OKLaboklab(32.6% 0.0498 -0.1462)
OKLCHoklch(32.6% 0.154 288.8)
XYZxyz(5.5392, 2.9205, 19.3367)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37187C #5D7C18
analogous
#182B7C #37187C #69187C
triadic
#37187C #7C3718 #187C37
tetradic
#37187C #7C182B #5D7C18 #187C69
square
#37187C #7C182B #5D7C18 #187C69
split-complementary
#37187C #7C6918 #2B7C18
monochromatic
#0B051A #200E49 #37187C #4E22AF #6836D8

Accessibility & contrast

On white

13.26
#37187C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#37187C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37187C
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37187C#FFFFFF#000000##FFFFFF
##37187C1.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327F
Deuteranopia (green-blind)
#002D7A
Tritanopia (blue-blind)
#1B354A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #37187c;
/* rgb */ color: rgb(55, 24, 124);
/* oklch */ color: oklch(32.6% 0.154 288.8);
Tailwind
colors: {
  custom: {
    50: '#7759a3',
    500: '#37187c',
    950: '#000000',
  },
}
SCSS
$custom: #37187c;
$custom-light: #7759a3;
$custom-dark: #000000;
JSON
{
  "hex": "#37187c",
  "rgb": {
    "r": 55,
    "g": 24,
    "b": 124
  },
  "hsl": {
    "h": 258.6,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32599,
    "c": 0.15446,
    "h": 288.8
  },
  "luminance": 0.02921
}

Semantic roles & 50–950 ramp

primary
#37187C
secondary
#8DB13F
accent
#EA3DB5
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #37187C

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

Preview Lab → · Contrast checker → · Palette generator →

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