#37164C#37164C

#37164C is a dark, moderate violet. Relative luminance 0.019; OKLCH L 27.9% C 0.098 H 309.6°. Best body text is #FFFFFF at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#37164C
RGBrgb(55, 22, 76)
HSLhsl(277, 55%, 19%)
HSVhsv(277, 71%, 30%)
CMYKcmyk(27.6%, 71.1%, 0%, 70.2%)
CIE-LABlab(15.00, 27.28, -26.82)
CIE-LCHlch(15.00, 38.26, 315.49°)
OKLaboklab(27.91% 0.0626 -0.0757)
OKLCHoklch(27.91% 0.098 309.6)
XYZxyz(3.1667, 1.9079, 7.0375)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37164C #2B4C16
analogous
#1C164C #37164C #4C1646
triadic
#37164C #4C3716 #164C37
tetradic
#37164C #4C1C16 #2B4C16 #16464C
square
#37164C #4C1C16 #2B4C16 #16464C
split-complementary
#37164C #464C16 #164C1C
monochromatic
#110718 #15081D #37164C #59247B #7C31AB

Accessibility & contrast

On white

15.20
#37164C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#37164C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37164C
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37164C#FFFFFF#000000##FFFFFF
##37164C1.0015.201.3815.20
#FFFFFF15.201.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244E
Deuteranopia (green-blind)
#0E264B
Tritanopia (blue-blind)
#34212E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #37164c;
/* rgb */ color: rgb(55, 22, 76);
/* oklch */ color: oklch(27.9% 0.098 309.6);
Tailwind
colors: {
  custom: {
    50: '#70567e',
    500: '#37164c',
    950: '#000000',
  },
}
SCSS
$custom: #37164c;
$custom-light: #70567e;
$custom-dark: #000000;
JSON
{
  "hex": "#37164c",
  "rgb": {
    "r": 55,
    "g": 22,
    "b": 76
  },
  "hsl": {
    "h": 276.667,
    "s": 55.102,
    "l": 19.216
  },
  "oklch": {
    "l": 0.27905,
    "c": 0.09825,
    "h": 309.6
  },
  "luminance": 0.01908
}

Semantic roles & 50–950 ramp

primary
#37164C
secondary
#57843A
accent
#DE4983
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #37164C

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

Preview Lab → · Contrast checker → · Palette generator →

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