#37155D#37155D

#37155D is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.2% C 0.121 H 300.6°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#37155D
RGBrgb(55, 21, 93)
HSLhsl(268, 63%, 22%)
HSVhsv(268, 77%, 36%)
CMYKcmyk(40.9%, 77.4%, 0%, 63.5%)
CIE-LABlab(16.20, 32.46, -36.39)
CIE-LCHlch(16.20, 48.76, 311.74°)
OKLaboklab(29.21% 0.0613 -0.1038)
OKLCHoklch(29.21% 0.121 300.6)
XYZxyz(3.8190, 2.1388, 10.5654)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37155D #3B5D15
analogous
#15175D #37155D #5B155D
triadic
#37155D #5D3715 #155D37
tetradic
#37155D #5D1517 #3B5D15 #155D5B
square
#37155D #5D1517 #3B5D15 #155D5B
split-complementary
#37155D #5D5B15 #175D15
monochromatic
#0F0619 #190A2B #37155D #55208F #722CC1

Accessibility & contrast

On white

14.71
#37155D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#37155D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37155D
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37155D#FFFFFF#000000##FFFFFF
##37155D1.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285F
Deuteranopia (green-blind)
#00285C
Tritanopia (blue-blind)
#2E2737
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #37155d;
/* rgb */ color: rgb(55, 21, 93);
/* oklch */ color: oklch(29.2% 0.121 300.6);
Tailwind
colors: {
  custom: {
    50: '#72568c',
    500: '#37155d',
    950: '#000000',
  },
}
SCSS
$custom: #37155d;
$custom-light: #72568c;
$custom-dark: #000000;
JSON
{
  "hex": "#37155d",
  "rgb": {
    "r": 55,
    "g": 21,
    "b": 93
  },
  "hsl": {
    "h": 268.333,
    "s": 63.158,
    "l": 22.353
  },
  "oklch": {
    "l": 0.29207,
    "c": 0.12057,
    "h": 300.6
  },
  "luminance": 0.02139
}

Semantic roles & 50–950 ramp

primary
#37155D
secondary
#699439
accent
#E64298
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #37155D

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

Preview Lab → · Contrast checker → · Palette generator →

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