#37104D#37104D

#37104D is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.2% C 0.108 H 310.3°. Best body text is #FFFFFF at 15.63:1 contrast (WCAG AA passes).

Color values

HEX#37104D
RGBrgb(55, 16, 77)
HSLhsl(278, 66%, 18%)
HSVhsv(278, 79%, 30%)
CMYKcmyk(28.6%, 79.2%, 0%, 69.8%)
CIE-LABlab(13.94, 30.72, -29.22)
CIE-LCHlch(13.94, 42.40, 316.43°)
OKLaboklab(27.17% 0.0702 -0.0827)
OKLCHoklch(27.17% 0.108 310.3)
XYZxyz(3.1001, 1.7187, 7.1882)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37104D #264D10
analogous
#19104D #37104D #4D1044
triadic
#37104D #4D3710 #104D37
tetradic
#37104D #4D1910 #264D10 #10444D
square
#37104D #4D1910 #264D10 #10444D
split-complementary
#37104D #444D10 #104D19
monochromatic
#120519 #13051A #37104D #5B1B80 #7F25B2

Accessibility & contrast

On white

15.63
#37104D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#37104D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37104D
15.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37104D#FFFFFF#000000##FFFFFF
##37104D1.0015.631.3415.63
#FFFFFF15.631.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224F
Deuteranopia (green-blind)
#05244C
Tritanopia (blue-blind)
#341E2D
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #37104d;
/* rgb */ color: rgb(55, 16, 77);
/* oklch */ color: oklch(27.2% 0.108 310.3);
Tailwind
colors: {
  custom: {
    50: '#71527f',
    500: '#37104d',
    950: '#000000',
  },
}
SCSS
$custom: #37104d;
$custom-light: #71527f;
$custom-dark: #000000;
JSON
{
  "hex": "#37104d",
  "rgb": {
    "r": 55,
    "g": 16,
    "b": 77
  },
  "hsl": {
    "h": 278.361,
    "s": 65.591,
    "l": 18.235
  },
  "oklch": {
    "l": 0.27171,
    "c": 0.10845,
    "h": 310.3
  },
  "luminance": 0.01719
}

Semantic roles & 50–950 ramp

primary
#37104D
secondary
#518732
accent
#E93F7C
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #37104D

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

Preview Lab → · Contrast checker → · Palette generator →

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