#37154D#37154D

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

Color values

HEX#37154D
RGBrgb(55, 21, 77)
HSLhsl(276, 57%, 19%)
HSVhsv(276, 73%, 30%)
CMYKcmyk(28.6%, 72.7%, 0%, 69.8%)
CIE-LABlab(14.87, 28.11, -27.71)
CIE-LCHlch(14.87, 39.47, 315.41°)
OKLaboklab(27.84% 0.0639 -0.0783)
OKLCHoklch(27.84% 0.101 309.2)
XYZxyz(3.1830, 1.8844, 7.2158)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37154D #2B4D15
analogous
#1B154D #37154D #4D1547
triadic
#37154D #4D3715 #154D37
tetradic
#37154D #4D1B15 #2B4D15 #15474D
square
#37154D #4D1B15 #2B4D15 #15474D
split-complementary
#37154D #474D15 #154D1B
monochromatic
#110718 #15081D #37154D #59227D #7C2FAD

Accessibility & contrast

On white

15.25
#37154D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#37154D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37154D
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37154D#FFFFFF#000000##FFFFFF
##37154D1.0015.251.3815.25
#FFFFFF15.251.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244F
Deuteranopia (green-blind)
#0C264C
Tritanopia (blue-blind)
#34212F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #37154d;
/* rgb */ color: rgb(55, 21, 77);
/* oklch */ color: oklch(27.8% 0.101 309.2);
Tailwind
colors: {
  custom: {
    50: '#70557f',
    500: '#37154d',
    950: '#000000',
  },
}
SCSS
$custom: #37154d;
$custom-light: #70557f;
$custom-dark: #000000;
JSON
{
  "hex": "#37154d",
  "rgb": {
    "r": 55,
    "g": 21,
    "b": 77
  },
  "hsl": {
    "h": 276.429,
    "s": 57.143,
    "l": 19.216
  },
  "oklch": {
    "l": 0.27838,
    "c": 0.10108,
    "h": 309.2
  },
  "luminance": 0.01884
}

Semantic roles & 50–950 ramp

primary
#37154D
secondary
#578539
accent
#E04784
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #37154D

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

Preview Lab → · Contrast checker → · Palette generator →

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