#37104C#37104C

#37104C is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.1% C 0.107 H 310.9°. Best body text is #FFFFFF at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#37104C
RGBrgb(55, 16, 76)
HSLhsl(279, 65%, 18%)
HSVhsv(279, 79%, 30%)
CMYKcmyk(27.6%, 78.9%, 0%, 70.2%)
CIE-LABlab(13.85, 30.47, -28.66)
CIE-LCHlch(13.85, 41.83, 316.75°)
OKLaboklab(27.09% 0.0703 -0.0811)
OKLCHoklch(27.09% 0.107 310.9)
XYZxyz(3.0651, 1.7047, 7.0036)
Luminance0.0170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37104C #254C10
analogous
#19104C #37104C #4C1043
triadic
#37104C #4C3710 #104C37
tetradic
#37104C #4C1910 #254C10 #10434C
square
#37104C #4C1910 #254C10 #10434C
split-complementary
#37104C #434C10 #104C19
monochromatic
#120519 #120519 #37104C #5C1B7F #8025B1

Accessibility & contrast

On white

15.66
#37104C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #37104C
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37104C#FFFFFF#000000##FFFFFF
##37104C1.0015.661.3415.66
#FFFFFF15.661.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224E
Deuteranopia (green-blind)
#07244B
Tritanopia (blue-blind)
#341D2D
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #37104c;
/* rgb */ color: rgb(55, 16, 76);
/* oklch */ color: oklch(27.1% 0.107 310.9);
Tailwind
colors: {
  custom: {
    50: '#71527e',
    500: '#37104c',
    950: '#000000',
  },
}
SCSS
$custom: #37104c;
$custom-light: #71527e;
$custom-dark: #000000;
JSON
{
  "hex": "#37104c",
  "rgb": {
    "r": 55,
    "g": 16,
    "b": 76
  },
  "hsl": {
    "h": 279,
    "s": 65.217,
    "l": 18.039
  },
  "oklch": {
    "l": 0.27087,
    "c": 0.10732,
    "h": 310.9
  },
  "luminance": 0.01705
}

Semantic roles & 50–950 ramp

primary
#37104C
secondary
#4F8632
accent
#E8407B
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #37104C

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

Preview Lab → · Contrast checker → · Palette generator →

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