#37156A#37156A

#37156A is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.4% C 0.136 H 295.2°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#37156A
RGBrgb(55, 21, 106)
HSLhsl(264, 67%, 25%)
HSVhsv(264, 80%, 42%)
CMYKcmyk(48.1%, 80.2%, 0%, 58.4%)
CIE-LABlab(17.41, 36.13, -43.01)
CIE-LCHlch(17.41, 56.17, 310.04°)
OKLaboklab(30.43% 0.0579 -0.1232)
OKLCHoklch(30.43% 0.136 295.2)
XYZxyz(4.4445, 2.3890, 13.8598)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37156A #486A15
analogous
#151E6A #37156A #62156A
triadic
#37156A #6A3715 #156A37
tetradic
#37156A #6A151E #486A15 #156A62
square
#37156A #6A151E #486A15 #156A62
split-complementary
#37156A #6A6215 #1E6A15
monochromatic
#0D051A #1C0B37 #37156A #521F9D #6C29D0

Accessibility & contrast

On white

14.21
#37156A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#37156A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37156A
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37156A#FFFFFF#000000##FFFFFF
##37156A1.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6C
Deuteranopia (green-blind)
#002968
Tritanopia (blue-blind)
#282C3F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #37156a;
/* rgb */ color: rgb(55, 21, 106);
/* oklch */ color: oklch(30.4% 0.136 295.2);
Tailwind
colors: {
  custom: {
    50: '#745795',
    500: '#37156a',
    950: '#000000',
  },
}
SCSS
$custom: #37156a;
$custom-light: #745795;
$custom-dark: #000000;
JSON
{
  "hex": "#37156a",
  "rgb": {
    "r": 55,
    "g": 21,
    "b": 106
  },
  "hsl": {
    "h": 264,
    "s": 66.929,
    "l": 24.902
  },
  "oklch": {
    "l": 0.30434,
    "c": 0.13617,
    "h": 295.2
  },
  "luminance": 0.02389
}

Semantic roles & 50–950 ramp

primary
#37156A
secondary
#78A13A
accent
#EA3EA5
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #37156A

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

Preview Lab → · Contrast checker → · Palette generator →

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