#37187D#37187D

#37187D is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.7% C 0.156 H 288.5°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#37187D
RGBrgb(55, 24, 125)
HSLhsl(258, 68%, 29%)
HSVhsv(258, 81%, 49%)
CMYKcmyk(56%, 80.8%, 0%, 51%)
CIE-LABlab(19.83, 40.17, -51.29)
CIE-LCHlch(19.83, 65.15, 308.07°)
OKLaboklab(32.7% 0.0495 -0.1476)
OKLCHoklch(32.7% 0.156 288.5)
XYZxyz(5.6028, 2.9459, 19.6715)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37187D #5E7D18
analogous
#182C7D #37187D #6A187D
triadic
#37187D #7D3718 #187D37
tetradic
#37187D #7D182C #5E7D18 #187D6A
square
#37187D #7D182C #5E7D18 #187D6A
split-complementary
#37187D #7D6A18 #2C7D18
monochromatic
#0B051A #200E4A #37187D #4E22B0 #6837D9

Accessibility & contrast

On white

13.21
#37187D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#37187D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37187D
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37187D#FFFFFF#000000##FFFFFF
##37187D1.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003280
Deuteranopia (green-blind)
#002D7B
Tritanopia (blue-blind)
#1A354A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #37187d;
/* rgb */ color: rgb(55, 24, 125);
/* oklch */ color: oklch(32.7% 0.156 288.5);
Tailwind
colors: {
  custom: {
    50: '#7759a4',
    500: '#37187d',
    950: '#000000',
  },
}
SCSS
$custom: #37187d;
$custom-light: #7759a4;
$custom-dark: #000000;
JSON
{
  "hex": "#37187d",
  "rgb": {
    "r": 55,
    "g": 24,
    "b": 125
  },
  "hsl": {
    "h": 258.416,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32703,
    "c": 0.15564,
    "h": 288.5
  },
  "luminance": 0.02946
}

Semantic roles & 50–950 ramp

primary
#37187D
secondary
#8EB23F
accent
#EB3DB5
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #37187D

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

Preview Lab → · Contrast checker → · Palette generator →

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