#37167B#37167B

#37167B is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.3% C 0.155 H 289.4°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#37167B
RGBrgb(55, 22, 123)
HSLhsl(260, 70%, 28%)
HSVhsv(260, 82%, 48%)
CMYKcmyk(55.3%, 82.1%, 0%, 51.8%)
CIE-LABlab(19.29, 40.53, -50.90)
CIE-LCHlch(19.29, 65.07, 308.53°)
OKLaboklab(32.27% 0.0517 -0.1464)
OKLCHoklch(32.27% 0.155 289.4)
XYZxyz(5.4366, 2.8158, 18.9921)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37167B #5A7B16
analogous
#16277B #37167B #69167B
triadic
#37167B #7B3716 #167B37
tetradic
#37167B #7B1627 #5A7B16 #167B69
square
#37167B #7B1627 #5A7B16 #167B69
split-complementary
#37167B #7B6916 #277B16
monochromatic
#0C051A #200D47 #37167B #4E1FAF #6831DA

Accessibility & contrast

On white

13.43
#37167B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#37167B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37167B
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37167B#FFFFFF#000000##FFFFFF
##37167B1.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317E
Deuteranopia (green-blind)
#002C79
Tritanopia (blue-blind)
#1C3349
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #37167b;
/* rgb */ color: rgb(55, 22, 123);
/* oklch */ color: oklch(32.3% 0.155 289.4);
Tailwind
colors: {
  custom: {
    50: '#7758a2',
    500: '#37167b',
    950: '#000000',
  },
}
SCSS
$custom: #37167b;
$custom-light: #7758a2;
$custom-dark: #000000;
JSON
{
  "hex": "#37167b",
  "rgb": {
    "r": 55,
    "g": 22,
    "b": 123
  },
  "hsl": {
    "h": 259.604,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32268,
    "c": 0.15523,
    "h": 289.4
  },
  "luminance": 0.02816
}

Semantic roles & 50–950 ramp

primary
#37167B
secondary
#8AB03D
accent
#EC3BB3
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #37167B

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

Preview Lab → · Contrast checker → · Palette generator →

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