#37155C#37155C

#37155C is a dark, moderate violet. Relative luminance 0.021; OKLCH L 29.1% C 0.119 H 301.0°. Best body text is #FFFFFF at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#37155C
RGBrgb(55, 21, 92)
HSLhsl(269, 63%, 22%)
HSVhsv(269, 77%, 36%)
CMYKcmyk(40.2%, 77.2%, 0%, 63.9%)
CIE-LABlab(16.11, 32.18, -35.86)
CIE-LCHlch(16.11, 48.19, 311.90°)
OKLaboklab(29.12% 0.0615 -0.1023)
OKLCHoklch(29.12% 0.119 301)
XYZxyz(3.7750, 2.1212, 10.3337)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37155C #3A5C15
analogous
#15175C #37155C #5B155C
triadic
#37155C #5C3715 #155C37
tetradic
#37155C #5C1517 #3A5C15 #155C5B
square
#37155C #5C1517 #3A5C15 #155C5B
split-complementary
#37155C #5C5B15 #175C15
monochromatic
#0F0619 #190A2A #37155C #55208E #732CC0

Accessibility & contrast

On white

14.75
#37155C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#37155C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37155C
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37155C#FFFFFF#000000##FFFFFF
##37155C1.0014.751.4214.75
#FFFFFF14.751.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285E
Deuteranopia (green-blind)
#00285B
Tritanopia (blue-blind)
#2F2637
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #37155c;
/* rgb */ color: rgb(55, 21, 92);
/* oklch */ color: oklch(29.1% 0.119 301.0);
Tailwind
colors: {
  custom: {
    50: '#72568b',
    500: '#37155c',
    950: '#000000',
  },
}
SCSS
$custom: #37155c;
$custom-light: #72568b;
$custom-dark: #000000;
JSON
{
  "hex": "#37155c",
  "rgb": {
    "r": 55,
    "g": 21,
    "b": 92
  },
  "hsl": {
    "h": 268.732,
    "s": 62.832,
    "l": 22.157
  },
  "oklch": {
    "l": 0.29117,
    "c": 0.11936,
    "h": 301
  },
  "luminance": 0.02121
}

Semantic roles & 50–950 ramp

primary
#37155C
secondary
#689339
accent
#E64297
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #37155C

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

Preview Lab → · Contrast checker → · Palette generator →

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