#37155B#37155B

#37155B is a dark, moderate violet. Relative luminance 0.021; OKLCH L 29.0% C 0.118 H 301.5°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#37155B
RGBrgb(55, 21, 91)
HSLhsl(269, 63%, 22%)
HSVhsv(269, 77%, 36%)
CMYKcmyk(39.6%, 76.9%, 0%, 64.3%)
CIE-LABlab(16.02, 31.91, -35.34)
CIE-LCHlch(16.02, 47.61, 312.08°)
OKLaboklab(29.03% 0.0617 -0.1007)
OKLCHoklch(29.03% 0.118 301.5)
XYZxyz(3.7316, 2.1039, 10.1050)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37155B #395B15
analogous
#15165B #37155B #5A155B
triadic
#37155B #5B3715 #155B37
tetradic
#37155B #5B1516 #395B15 #155B5A
square
#37155B #5B1516 #395B15 #155B5A
split-complementary
#37155B #5B5A15 #165B15
monochromatic
#0F0619 #190A29 #37155B #55208D #732CBE

Accessibility & contrast

On white

14.78
#37155B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #37155B
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37155B#FFFFFF#000000##FFFFFF
##37155B1.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275D
Deuteranopia (green-blind)
#00275A
Tritanopia (blue-blind)
#2F2636
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #37155b;
/* rgb */ color: rgb(55, 21, 91);
/* oklch */ color: oklch(29.0% 0.118 301.5);
Tailwind
colors: {
  custom: {
    50: '#72568a',
    500: '#37155b',
    950: '#000000',
  },
}
SCSS
$custom: #37155b;
$custom-light: #72568a;
$custom-dark: #000000;
JSON
{
  "hex": "#37155b",
  "rgb": {
    "r": 55,
    "g": 21,
    "b": 91
  },
  "hsl": {
    "h": 269.143,
    "s": 62.5,
    "l": 21.961
  },
  "oklch": {
    "l": 0.29027,
    "c": 0.11815,
    "h": 301.5
  },
  "luminance": 0.02104
}

Semantic roles & 50–950 ramp

primary
#37155B
secondary
#679239
accent
#E64296
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #37155B

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

Preview Lab → · Contrast checker → · Palette generator →

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