#37104B#37104B

#37104B is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.0% C 0.106 H 311.6°. Best body text is #FFFFFF at 15.69:1 contrast (WCAG AA passes).

Color values

HEX#37104B
RGBrgb(55, 16, 75)
HSLhsl(280, 65%, 18%)
HSVhsv(280, 79%, 29%)
CMYKcmyk(26.7%, 78.7%, 0%, 70.6%)
CIE-LABlab(13.77, 30.22, -28.10)
CIE-LCHlch(13.77, 41.26, 317.08°)
OKLaboklab(27% 0.0705 -0.0794)
OKLCHoklch(27% 0.106 311.6)
XYZxyz(3.0306, 1.6909, 6.8220)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37104B #244B10
analogous
#19104B #37104B #4B1041
triadic
#37104B #4B3710 #104B37
tetradic
#37104B #4B1910 #244B10 #10414B
square
#37104B #4B1910 #244B10 #10414B
split-complementary
#37104B #414B10 #104B19
monochromatic
#120519 #120519 #37104B #5C1B7D #8126B0

Accessibility & contrast

On white

15.69
#37104B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #37104B
15.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37104B#FFFFFF#000000##FFFFFF
##37104B1.0015.691.3415.69
#FFFFFF15.691.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214D
Deuteranopia (green-blind)
#08244A
Tritanopia (blue-blind)
#351D2C
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #37104b;
/* rgb */ color: rgb(55, 16, 75);
/* oklch */ color: oklch(27.0% 0.106 311.6);
Tailwind
colors: {
  custom: {
    50: '#70527e',
    500: '#37104b',
    950: '#000000',
  },
}
SCSS
$custom: #37104b;
$custom-light: #70527e;
$custom-dark: #000000;
JSON
{
  "hex": "#37104b",
  "rgb": {
    "r": 55,
    "g": 16,
    "b": 75
  },
  "hsl": {
    "h": 279.661,
    "s": 64.835,
    "l": 17.843
  },
  "oklch": {
    "l": 0.27004,
    "c": 0.10618,
    "h": 311.6
  },
  "luminance": 0.01691
}

Semantic roles & 50–950 ramp

primary
#37104B
secondary
#4E8532
accent
#E84079
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #37104B

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

Preview Lab → · Contrast checker → · Palette generator →

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