#37199A#37199A

#37199A is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.9% C 0.189 H 282.0°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#37199A
RGBrgb(55, 25, 154)
HSLhsl(254, 72%, 35%)
HSVhsv(254, 84%, 60%)
CMYKcmyk(64.3%, 83.8%, 0%, 39.6%)
CIE-LABlab(23.14, 48.17, -63.95)
CIE-LCHlch(23.14, 80.06, 306.99°)
OKLaboklab(35.93% 0.0391 -0.1845)
OKLCHoklch(35.93% 0.189 282)
XYZxyz(7.7541, 3.8400, 30.8982)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37199A #7C9A19
analogous
#193C9A #37199A #77199A
triadic
#37199A #9A3719 #199A37
tetradic
#37199A #9A193C #7C9A19 #199A77
square
#37199A #9A193C #7C9A19 #199A77
split-complementary
#37199A #9A7719 #3C9A19
monochromatic
#110831 #241065 #37199A #4A22CF #6E4CE2

Accessibility & contrast

On white

11.88
#37199A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#37199A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37199A
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37199A#FFFFFF#000000##FFFFFF
##37199A1.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B9D
Deuteranopia (green-blind)
#003398
Tritanopia (blue-blind)
#00425B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #37199a;
/* rgb */ color: rgb(55, 25, 154);
/* oklch */ color: oklch(35.9% 0.189 282.0);
Tailwind
colors: {
  custom: {
    50: '#7c5cb9',
    500: '#37199a',
    950: '#000000',
  },
}
SCSS
$custom: #37199a;
$custom-light: #7c5cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#37199a",
  "rgb": {
    "r": 55,
    "g": 25,
    "b": 154
  },
  "hsl": {
    "h": 253.953,
    "s": 72.067,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35931,
    "c": 0.18859,
    "h": 282
  },
  "luminance": 0.03841
}

Semantic roles & 50–950 ramp

primary
#37199A
secondary
#A8C44B
accent
#EF39C5
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #37199A

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

Preview Lab → · Contrast checker → · Palette generator →

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