#37199E#37199E

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

Color values

HEX#37199E
RGBrgb(55, 25, 158)
HSLhsl(254, 73%, 36%)
HSVhsv(254, 84%, 62%)
CMYKcmyk(65.2%, 84.2%, 0%, 38%)
CIE-LABlab(23.59, 49.32, -65.65)
CIE-LCHlch(23.59, 82.11, 306.92°)
OKLaboklab(36.38% 0.0377 -0.1894)
OKLCHoklch(36.38% 0.193 281.2)
XYZxyz(8.0928, 3.9755, 32.6820)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37199E #809E19
analogous
#193D9E #37199E #79199E
triadic
#37199E #9E3719 #199E37
tetradic
#37199E #9E193D #809E19 #199E79
square
#37199E #9E193D #809E19 #199E79
split-complementary
#37199E #9E7919 #3D9E19
monochromatic
#120834 #251169 #37199E #4921D3 #704EE3

Accessibility & contrast

On white

11.70
#37199E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#37199E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37199E
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37199E#FFFFFF#000000##FFFFFF
##37199E1.0011.701.8011.70
#FFFFFF11.701.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #37199e;
/* rgb */ color: rgb(55, 25, 158);
/* oklch */ color: oklch(36.4% 0.193 281.2);
Tailwind
colors: {
  custom: {
    50: '#7d5cbc',
    500: '#37199e',
    950: '#000000',
  },
}
SCSS
$custom: #37199e;
$custom-light: #7d5cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#37199e",
  "rgb": {
    "r": 55,
    "g": 25,
    "b": 158
  },
  "hsl": {
    "h": 253.534,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36377,
    "c": 0.19315,
    "h": 281.2
  },
  "luminance": 0.03976
}

Semantic roles & 50–950 ramp

primary
#37199E
secondary
#AAC54E
accent
#EF38C6
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #37199E

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

Preview Lab → · Contrast checker → · Palette generator →

#37199E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva