#37135C#37135C

#37135C is a dark, vivid violet. Relative luminance 0.021; OKLCH L 28.9% C 0.122 H 301.5°. Best body text is #FFFFFF at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#37135C
RGBrgb(55, 19, 92)
HSLhsl(270, 66%, 22%)
HSVhsv(270, 79%, 36%)
CMYKcmyk(40.2%, 79.3%, 0%, 63.9%)
CIE-LABlab(15.75, 33.20, -36.45)
CIE-LCHlch(15.75, 49.31, 312.33°)
OKLaboklab(28.86% 0.0637 -0.104)
OKLCHoklch(28.86% 0.122 301.5)
XYZxyz(3.7397, 2.0507, 10.3219)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37135C #385C13
analogous
#13145C #37135C #5C135C
triadic
#37135C #5C3713 #135C37
tetradic
#37135C #5C1314 #385C13 #135C5C
square
#37135C #5C1314 #385C13 #135C5C
split-complementary
#37135C #5C5C13 #145C13
monochromatic
#0F0519 #190929 #37135C #551D8F #7428C1

Accessibility & contrast

On white

14.89
#37135C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#37135C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37135C
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37135C#FFFFFF#000000##FFFFFF
##37135C1.0014.891.4114.89
#FFFFFF14.891.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275E
Deuteranopia (green-blind)
#00275B
Tritanopia (blue-blind)
#2F2536
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #37135c;
/* rgb */ color: rgb(55, 19, 92);
/* oklch */ color: oklch(28.9% 0.122 301.5);
Tailwind
colors: {
  custom: {
    50: '#72558b',
    500: '#37135c',
    950: '#000000',
  },
}
SCSS
$custom: #37135c;
$custom-light: #72558b;
$custom-dark: #000000;
JSON
{
  "hex": "#37135c",
  "rgb": {
    "r": 55,
    "g": 19,
    "b": 92
  },
  "hsl": {
    "h": 269.589,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.28862,
    "c": 0.12193,
    "h": 301.5
  },
  "luminance": 0.02051
}

Semantic roles & 50–950 ramp

primary
#37135C
secondary
#669437
accent
#E93F95
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #37135C

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

Preview Lab → · Contrast checker → · Palette generator →

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