#37147C#37147C

#37147C is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.2% C 0.158 H 289.4°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#37147C
RGBrgb(55, 20, 124)
HSLhsl(260, 72%, 28%)
HSVhsv(260, 84%, 49%)
CMYKcmyk(55.6%, 83.9%, 0%, 51.4%)
CIE-LABlab(19.09, 41.72, -51.87)
CIE-LCHlch(19.09, 66.57, 308.81°)
OKLaboklab(32.16% 0.0527 -0.1492)
OKLCHoklch(32.16% 0.158 289.4)
XYZxyz(5.4627, 2.7675, 19.3112)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37147C #597C14
analogous
#14257C #37147C #6B147C
triadic
#37147C #7C3714 #147C37
tetradic
#37147C #7C1425 #597C14 #147C6B
square
#37147C #7C1425 #597C14 #147C6B
split-complementary
#37147C #7C6B14 #257C14
monochromatic
#0C041A #200B47 #37147C #4E1DB1 #682DDD

Accessibility & contrast

On white

13.52
#37147C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#37147C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37147C
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37147C#FFFFFF#000000##FFFFFF
##37147C1.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307F
Deuteranopia (green-blind)
#002C7A
Tritanopia (blue-blind)
#1C3349
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #37147c;
/* rgb */ color: rgb(55, 20, 124);
/* oklch */ color: oklch(32.2% 0.158 289.4);
Tailwind
colors: {
  custom: {
    50: '#7757a3',
    500: '#37147c',
    950: '#000000',
  },
}
SCSS
$custom: #37147c;
$custom-light: #7757a3;
$custom-dark: #000000;
JSON
{
  "hex": "#37147c",
  "rgb": {
    "r": 55,
    "g": 20,
    "b": 124
  },
  "hsl": {
    "h": 260.192,
    "s": 72.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.32159,
    "c": 0.15824,
    "h": 289.4
  },
  "luminance": 0.02768
}

Semantic roles & 50–950 ramp

primary
#37147C
secondary
#89B23A
accent
#EF39B2
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #37147C

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

Preview Lab → · Contrast checker → · Palette generator →

#37147C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva