#37104F#37104F

#37104F is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.3% C 0.111 H 309.1°. Best body text is #FFFFFF at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#37104F
RGBrgb(55, 16, 79)
HSLhsl(277, 66%, 19%)
HSVhsv(277, 80%, 31%)
CMYKcmyk(30.4%, 79.7%, 0%, 69%)
CIE-LABlab(14.10, 31.23, -30.32)
CIE-LCHlch(14.10, 43.53, 315.84°)
OKLaboklab(27.34% 0.0698 -0.086)
OKLCHoklch(27.34% 0.111 309.1)
XYZxyz(3.1718, 1.7474, 7.5658)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37104F #284F10
analogous
#17104F #37104F #4F1047
triadic
#37104F #4F3710 #104F37
tetradic
#37104F #4F1710 #284F10 #10474F
square
#37104F #4F1710 #284F10 #10474F
split-complementary
#37104F #474F10 #104F17
monochromatic
#120519 #14061C #37104F #5A1A82 #7E25B5

Accessibility & contrast

On white

15.56
#37104F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#37104F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37104F
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37104F#FFFFFF#000000##FFFFFF
##37104F1.0015.561.3515.56
#FFFFFF15.561.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002251
Deuteranopia (green-blind)
#02244E
Tritanopia (blue-blind)
#331F2E
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #37104f;
/* rgb */ color: rgb(55, 16, 79);
/* oklch */ color: oklch(27.3% 0.111 309.1);
Tailwind
colors: {
  custom: {
    50: '#715281',
    500: '#37104f',
    950: '#000000',
  },
}
SCSS
$custom: #37104f;
$custom-light: #715281;
$custom-dark: #000000;
JSON
{
  "hex": "#37104f",
  "rgb": {
    "r": 55,
    "g": 16,
    "b": 79
  },
  "hsl": {
    "h": 277.143,
    "s": 66.316,
    "l": 18.627
  },
  "oklch": {
    "l": 0.27341,
    "c": 0.11072,
    "h": 309.1
  },
  "luminance": 0.01747
}

Semantic roles & 50–950 ramp

primary
#37104F
secondary
#538932
accent
#E93F80
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #37104F

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

Preview Lab → · Contrast checker → · Palette generator →

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