#37135A#37135A

#37135A is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.7% C 0.120 H 302.4°. Best body text is #FFFFFF at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#37135A
RGBrgb(55, 19, 90)
HSLhsl(270, 65%, 21%)
HSVhsv(270, 79%, 35%)
CMYKcmyk(38.9%, 78.9%, 0%, 64.7%)
CIE-LABlab(15.57, 32.66, -35.40)
CIE-LCHlch(15.57, 48.16, 312.69°)
OKLaboklab(28.68% 0.0642 -0.1009)
OKLCHoklch(28.68% 0.12 302.4)
XYZxyz(3.6534, 2.0161, 9.8676)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37135A #365A13
analogous
#14135A #37135A #5A135A
triadic
#37135A #5A3713 #135A37
tetradic
#37135A #5A1413 #365A13 #135A5A
square
#37135A #5A1413 #365A13 #135A5A
split-complementary
#37135A #5A5A13 #135A14
monochromatic
#0F0519 #180827 #37135A #561E8D #7528BF

Accessibility & contrast

On white

14.97
#37135A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#37135A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37135A
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37135A#FFFFFF#000000##FFFFFF
##37135A1.0014.971.4014.97
#FFFFFF14.971.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265C
Deuteranopia (green-blind)
#002759
Tritanopia (blue-blind)
#302535
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #37135a;
/* rgb */ color: rgb(55, 19, 90);
/* oklch */ color: oklch(28.7% 0.120 302.4);
Tailwind
colors: {
  custom: {
    50: '#725589',
    500: '#37135a',
    950: '#000000',
  },
}
SCSS
$custom: #37135a;
$custom-light: #725589;
$custom-dark: #000000;
JSON
{
  "hex": "#37135a",
  "rgb": {
    "r": 55,
    "g": 19,
    "b": 90
  },
  "hsl": {
    "h": 270.423,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.2868,
    "c": 0.11957,
    "h": 302.4
  },
  "luminance": 0.02016
}

Semantic roles & 50–950 ramp

primary
#37135A
secondary
#649237
accent
#E84093
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030B
muted
#7B787C

Preview Lab

Preview with #37135A

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

Preview Lab → · Contrast checker → · Palette generator →

#37135A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva