#37155E#37155E

#37155E is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.3% C 0.122 H 300.1°. Best body text is #FFFFFF at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#37155E
RGBrgb(55, 21, 94)
HSLhsl(268, 63%, 23%)
HSVhsv(268, 78%, 37%)
CMYKcmyk(41.5%, 77.7%, 0%, 63.1%)
CIE-LABlab(16.29, 32.74, -36.91)
CIE-LCHlch(16.29, 49.34, 311.57°)
OKLaboklab(29.3% 0.0611 -0.1054)
OKLCHoklch(29.3% 0.122 300.1)
XYZxyz(3.8636, 2.1567, 10.8002)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37155E #3C5E15
analogous
#15185E #37155E #5B155E
triadic
#37155E #5E3715 #155E37
tetradic
#37155E #5E1518 #3C5E15 #155E5B
square
#37155E #5E1518 #3C5E15 #155E5B
split-complementary
#37155E #5E5B15 #185E15
monochromatic
#0F0619 #1A0A2C #37155E #542090 #722BC2

Accessibility & contrast

On white

14.67
#37155E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #37155E
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37155E#FFFFFF#000000##FFFFFF
##37155E1.0014.671.4314.67
#FFFFFF14.671.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002860
Deuteranopia (green-blind)
#00285D
Tritanopia (blue-blind)
#2E2738
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #37155e;
/* rgb */ color: rgb(55, 21, 94);
/* oklch */ color: oklch(29.3% 0.122 300.1);
Tailwind
colors: {
  custom: {
    50: '#72568c',
    500: '#37155e',
    950: '#000000',
  },
}
SCSS
$custom: #37155e;
$custom-light: #72568c;
$custom-dark: #000000;
JSON
{
  "hex": "#37155e",
  "rgb": {
    "r": 55,
    "g": 21,
    "b": 94
  },
  "hsl": {
    "h": 267.945,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.29298,
    "c": 0.12178,
    "h": 300.1
  },
  "luminance": 0.02157
}

Semantic roles & 50–950 ramp

primary
#37155E
secondary
#6B9539
accent
#E7419A
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #37155E

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

Preview Lab → · Contrast checker → · Palette generator →

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