#37154C#37154C

#37154C is a dark, moderate violet. Relative luminance 0.019; OKLCH L 27.8% C 0.100 H 309.8°. Best body text is #FFFFFF at 15.28:1 contrast (WCAG AA passes).

Color values

HEX#37154C
RGBrgb(55, 21, 76)
HSLhsl(277, 57%, 19%)
HSVhsv(277, 72%, 30%)
CMYKcmyk(27.6%, 72.4%, 0%, 70.2%)
CIE-LABlab(14.79, 27.85, -27.15)
CIE-LCHlch(14.79, 38.89, 315.73°)
OKLaboklab(27.76% 0.064 -0.0767)
OKLCHoklch(27.76% 0.1 309.8)
XYZxyz(3.1480, 1.8704, 7.0313)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37154C #2A4C15
analogous
#1C154C #37154C #4C1546
triadic
#37154C #4C3715 #154C37
tetradic
#37154C #4C1C15 #2A4C15 #15464C
square
#37154C #4C1C15 #2A4C15 #15464C
split-complementary
#37154C #464C15 #154C1C
monochromatic
#110718 #14081C #37154C #5A227C #7C2FAC

Accessibility & contrast

On white

15.28
#37154C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#37154C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37154C
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37154C#FFFFFF#000000##FFFFFF
##37154C1.0015.281.3715.28
#FFFFFF15.281.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244E
Deuteranopia (green-blind)
#0D264B
Tritanopia (blue-blind)
#34202E
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #37154c;
/* rgb */ color: rgb(55, 21, 76);
/* oklch */ color: oklch(27.8% 0.100 309.8);
Tailwind
colors: {
  custom: {
    50: '#70557e',
    500: '#37154c',
    950: '#000000',
  },
}
SCSS
$custom: #37154c;
$custom-light: #70557e;
$custom-dark: #000000;
JSON
{
  "hex": "#37154c",
  "rgb": {
    "r": 55,
    "g": 21,
    "b": 76
  },
  "hsl": {
    "h": 277.091,
    "s": 56.701,
    "l": 19.02
  },
  "oklch": {
    "l": 0.27758,
    "c": 0.09985,
    "h": 309.8
  },
  "luminance": 0.0187
}

Semantic roles & 50–950 ramp

primary
#37154C
secondary
#568439
accent
#E04882
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #37154C

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

Preview Lab → · Contrast checker → · Palette generator →

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