#37167E#37167E

#37167E is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.6% C 0.159 H 288.6°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#37167E
RGBrgb(55, 22, 126)
HSLhsl(259, 70%, 29%)
HSVhsv(259, 83%, 49%)
CMYKcmyk(56.3%, 82.5%, 0%, 50.6%)
CIE-LABlab(19.61, 41.40, -52.29)
CIE-LCHlch(19.61, 66.70, 308.37°)
OKLaboklab(32.58% 0.0506 -0.1505)
OKLCHoklch(32.58% 0.159 288.6)
XYZxyz(5.6272, 2.8921, 19.9963)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37167E #5D7E16
analogous
#16297E #37167E #6B167E
triadic
#37167E #7E3716 #167E37
tetradic
#37167E #7E1629 #5D7E16 #167E6B
square
#37167E #7E1629 #5D7E16 #167E6B
split-complementary
#37167E #7E6B16 #297E16
monochromatic
#0B051A #200D4A #37167E #4E1FB2 #6833DB

Accessibility & contrast

On white

13.30
#37167E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#37167E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37167E
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37167E#FFFFFF#000000##FFFFFF
##37167E1.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003281
Deuteranopia (green-blind)
#002D7C
Tritanopia (blue-blind)
#1A354A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #37167e;
/* rgb */ color: rgb(55, 22, 126);
/* oklch */ color: oklch(32.6% 0.159 288.6);
Tailwind
colors: {
  custom: {
    50: '#7758a4',
    500: '#37167e',
    950: '#000000',
  },
}
SCSS
$custom: #37167e;
$custom-light: #7758a4;
$custom-dark: #000000;
JSON
{
  "hex": "#37167e",
  "rgb": {
    "r": 55,
    "g": 22,
    "b": 126
  },
  "hsl": {
    "h": 259.038,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32582,
    "c": 0.15875,
    "h": 288.6
  },
  "luminance": 0.02892
}

Semantic roles & 50–950 ramp

primary
#37167E
secondary
#8DB33D
accent
#ED3BB4
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #37167E

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

Preview Lab → · Contrast checker → · Palette generator →

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