#37154B#37154B

#37154B is a dark, moderate violet. Relative luminance 0.019; OKLCH L 27.7% C 0.099 H 310.5°. Best body text is #FFFFFF at 15.31:1 contrast (WCAG AA passes).

Color values

HEX#37154B
RGBrgb(55, 21, 75)
HSLhsl(278, 56%, 19%)
HSVhsv(278, 72%, 29%)
CMYKcmyk(26.7%, 72%, 0%, 70.6%)
CIE-LABlab(14.72, 27.59, -26.58)
CIE-LCHlch(14.72, 38.31, 316.06°)
OKLaboklab(27.68% 0.064 -0.075)
OKLCHoklch(27.68% 0.099 310.5)
XYZxyz(3.1135, 1.8566, 6.8496)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37154B #294B15
analogous
#1C154B #37154B #4B1544
triadic
#37154B #4B3715 #154B37
tetradic
#37154B #4B1C15 #294B15 #15444B
square
#37154B #4B1C15 #294B15 #15444B
split-complementary
#37154B #444B15 #154B1C
monochromatic
#120718 #14081B #37154B #5A227B #7D30AB

Accessibility & contrast

On white

15.31
#37154B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #37154B
15.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37154B#FFFFFF#000000##FFFFFF
##37154B1.0015.311.3715.31
#FFFFFF15.311.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #37154b;
/* rgb */ color: rgb(55, 21, 75);
/* oklch */ color: oklch(27.7% 0.099 310.5);
Tailwind
colors: {
  custom: {
    50: '#70557e',
    500: '#37154b',
    950: '#000000',
  },
}
SCSS
$custom: #37154b;
$custom-light: #70557e;
$custom-dark: #000000;
JSON
{
  "hex": "#37154b",
  "rgb": {
    "r": 55,
    "g": 21,
    "b": 75
  },
  "hsl": {
    "h": 277.778,
    "s": 56.25,
    "l": 18.824
  },
  "oklch": {
    "l": 0.27679,
    "c": 0.09863,
    "h": 310.5
  },
  "luminance": 0.01857
}

Semantic roles & 50–950 ramp

primary
#37154B
secondary
#548339
accent
#E04880
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #37154B

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

Preview Lab → · Contrast checker → · Palette generator →

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