#37189F#37189F

#37189F is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.4% C 0.195 H 281.2°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#37189F
RGBrgb(55, 24, 159)
HSLhsl(254, 74%, 36%)
HSVhsv(254, 85%, 62%)
CMYKcmyk(65.4%, 84.9%, 0%, 37.6%)
CIE-LABlab(23.57, 50.02, -66.30)
CIE-LCHlch(23.57, 83.05, 307.03°)
OKLaboklab(36.39% 0.0378 -0.1913)
OKLCHoklch(36.39% 0.195 281.2)
XYZxyz(8.1582, 3.9681, 33.1302)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37189F #809F18
analogous
#183C9F #37189F #7A189F
triadic
#37189F #9F3718 #189F37
tetradic
#37189F #9F183C #809F18 #189F7A
square
#37189F #9F183C #809F18 #189F7A
split-complementary
#37189F #9F7A18 #3C9F18
monochromatic
#120835 #25106A #37189F #4920D4 #704DE4

Accessibility & contrast

On white

11.71
#37189F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#37189F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37189F
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37189F#FFFFFF#000000##FFFFFF
##37189F1.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA3
Deuteranopia (green-blind)
#00339D
Tritanopia (blue-blind)
#00435E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #37189f;
/* rgb */ color: rgb(55, 24, 159);
/* oklch */ color: oklch(36.4% 0.195 281.2);
Tailwind
colors: {
  custom: {
    50: '#7d5cbd',
    500: '#37189f',
    950: '#000000',
  },
}
SCSS
$custom: #37189f;
$custom-light: #7d5cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#37189f",
  "rgb": {
    "r": 55,
    "g": 24,
    "b": 159
  },
  "hsl": {
    "h": 253.778,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36394,
    "c": 0.19501,
    "h": 281.2
  },
  "luminance": 0.03969
}

Semantic roles & 50–950 ramp

primary
#37189F
secondary
#AAC64D
accent
#F037C6
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #37189F

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

Preview Lab → · Contrast checker → · Palette generator →

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