#37188D#37188D

#37188D is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.4% C 0.174 H 284.7°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#37188D
RGBrgb(55, 24, 141)
HSLhsl(256, 71%, 32%)
HSVhsv(256, 83%, 55%)
CMYKcmyk(61%, 83%, 0%, 44.7%)
CIE-LABlab(21.54, 44.84, -58.55)
CIE-LCHlch(21.54, 73.75, 307.44°)
OKLaboklab(34.4% 0.0441 -0.1688)
OKLCHoklch(34.4% 0.174 284.7)
XYZxyz(6.7084, 3.3881, 25.4946)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37188D #6E8D18
analogous
#18348D #37188D #71188D
triadic
#37188D #8D3718 #188D37
tetradic
#37188D #8D1834 #6E8D18 #188D71
square
#37188D #8D1834 #6E8D18 #188D71
split-complementary
#37188D #8D7118 #348D18
monochromatic
#0E0624 #230F59 #37188D #4B21C1 #6B41DF

Accessibility & contrast

On white

12.52
#37188D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#37188D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37188D
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37188D#FFFFFF#000000##FFFFFF
##37188D1.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003790
Deuteranopia (green-blind)
#00308B
Tritanopia (blue-blind)
#003C53
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #37188d;
/* rgb */ color: rgb(55, 24, 141);
/* oklch */ color: oklch(34.4% 0.174 284.7);
Tailwind
colors: {
  custom: {
    50: '#7a5ab0',
    500: '#37188d',
    950: '#000000',
  },
}
SCSS
$custom: #37188d;
$custom-light: #7a5ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#37188d",
  "rgb": {
    "r": 55,
    "g": 24,
    "b": 141
  },
  "hsl": {
    "h": 255.897,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.344,
    "c": 0.17443,
    "h": 284.7
  },
  "luminance": 0.03389
}

Semantic roles & 50–950 ramp

primary
#37188D
secondary
#9EBF42
accent
#EE3ABE
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #37188D

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

Preview Lab → · Contrast checker → · Palette generator →

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