#37155A#37155A

#37155A is a dark, moderate violet. Relative luminance 0.021; OKLCH L 28.9% C 0.117 H 302.0°. Best body text is #FFFFFF at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#37155A
RGBrgb(55, 21, 90)
HSLhsl(270, 62%, 22%)
HSVhsv(270, 77%, 35%)
CMYKcmyk(38.9%, 76.7%, 0%, 64.7%)
CIE-LABlab(15.94, 31.63, -34.81)
CIE-LCHlch(15.94, 47.03, 312.26°)
OKLaboklab(28.94% 0.0619 -0.0992)
OKLCHoklch(28.94% 0.117 302)
XYZxyz(3.6887, 2.0867, 9.8793)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37155A #385A15
analogous
#15165A #37155A #5A155A
triadic
#37155A #5A3715 #155A37
tetradic
#37155A #5A1516 #385A15 #155A5A
square
#37155A #5A1516 #385A15 #155A5A
split-complementary
#37155A #5A5A15 #165A15
monochromatic
#0F0619 #190928 #37155A #55218C #742CBD

Accessibility & contrast

On white

14.82
#37155A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#37155A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37155A
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37155A#FFFFFF#000000##FFFFFF
##37155A1.0014.821.4214.82
#FFFFFF14.821.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275C
Deuteranopia (green-blind)
#002759
Tritanopia (blue-blind)
#302636
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #37155a;
/* rgb */ color: rgb(55, 21, 90);
/* oklch */ color: oklch(28.9% 0.117 302.0);
Tailwind
colors: {
  custom: {
    50: '#725689',
    500: '#37155a',
    950: '#000000',
  },
}
SCSS
$custom: #37155a;
$custom-light: #725689;
$custom-dark: #000000;
JSON
{
  "hex": "#37155a",
  "rgb": {
    "r": 55,
    "g": 21,
    "b": 90
  },
  "hsl": {
    "h": 269.565,
    "s": 62.162,
    "l": 21.765
  },
  "oklch": {
    "l": 0.28938,
    "c": 0.11693,
    "h": 302
  },
  "luminance": 0.02087
}

Semantic roles & 50–950 ramp

primary
#37155A
secondary
#669239
accent
#E54395
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030B
muted
#7B787C

Preview Lab

Preview with #37155A

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

Preview Lab → · Contrast checker → · Palette generator →

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