#37167D#37167D

#37167D is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.5% C 0.158 H 288.9°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#37167D
RGBrgb(55, 22, 125)
HSLhsl(259, 70%, 29%)
HSVhsv(259, 82%, 49%)
CMYKcmyk(56%, 82.4%, 0%, 51%)
CIE-LABlab(19.50, 41.11, -51.83)
CIE-LCHlch(19.50, 66.15, 308.42°)
OKLaboklab(32.48% 0.051 -0.1491)
OKLCHoklch(32.48% 0.158 288.9)
XYZxyz(5.5630, 2.8664, 19.6582)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37167D #5C7D16
analogous
#16297D #37167D #6B167D
triadic
#37167D #7D3716 #167D37
tetradic
#37167D #7D1629 #5C7D16 #167D6B
square
#37167D #7D1629 #5C7D16 #167D6B
split-complementary
#37167D #7D6B16 #297D16
monochromatic
#0B051A #200D49 #37167D #4E1FB1 #6832DB

Accessibility & contrast

On white

13.35
#37167D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#37167D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37167D
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37167D#FFFFFF#000000##FFFFFF
##37167D1.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003180
Deuteranopia (green-blind)
#002D7B
Tritanopia (blue-blind)
#1B344A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #37167d;
/* rgb */ color: rgb(55, 22, 125);
/* oklch */ color: oklch(32.5% 0.158 288.9);
Tailwind
colors: {
  custom: {
    50: '#7758a4',
    500: '#37167d',
    950: '#000000',
  },
}
SCSS
$custom: #37167d;
$custom-light: #7758a4;
$custom-dark: #000000;
JSON
{
  "hex": "#37167d",
  "rgb": {
    "r": 55,
    "g": 22,
    "b": 125
  },
  "hsl": {
    "h": 259.223,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32477,
    "c": 0.15758,
    "h": 288.9
  },
  "luminance": 0.02867
}

Semantic roles & 50–950 ramp

primary
#37167D
secondary
#8CB23D
accent
#ED3BB4
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #37167D

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

Preview Lab → · Contrast checker → · Palette generator →

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