#37167F#37167F

#37167F is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.7% C 0.160 H 288.3°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#37167F
RGBrgb(55, 22, 127)
HSLhsl(259, 70%, 29%)
HSVhsv(259, 83%, 50%)
CMYKcmyk(56.7%, 82.7%, 0%, 50.2%)
CIE-LABlab(19.71, 41.69, -52.75)
CIE-LCHlch(19.71, 67.23, 308.32°)
OKLaboklab(32.69% 0.0503 -0.1518)
OKLCHoklch(32.69% 0.16 288.3)
XYZxyz(5.6921, 2.9181, 20.3379)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37167F #5E7F16
analogous
#162A7F #37167F #6C167F
triadic
#37167F #7F3716 #167F37
tetradic
#37167F #7F162A #5E7F16 #167F6C
square
#37167F #7F162A #5E7F16 #167F6C
split-complementary
#37167F #7F6C16 #2A7F16
monochromatic
#0B051A #200D4B #37167F #4E1FB3 #6834DC

Accessibility & contrast

On white

13.26
#37167F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #37167F
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37167F#FFFFFF#000000##FFFFFF
##37167F1.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003282
Deuteranopia (green-blind)
#002D7D
Tritanopia (blue-blind)
#18354B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #37167f;
/* rgb */ color: rgb(55, 22, 127);
/* oklch */ color: oklch(32.7% 0.160 288.3);
Tailwind
colors: {
  custom: {
    50: '#7758a5',
    500: '#37167f',
    950: '#000000',
  },
}
SCSS
$custom: #37167f;
$custom-light: #7758a5;
$custom-dark: #000000;
JSON
{
  "hex": "#37167f",
  "rgb": {
    "r": 55,
    "g": 22,
    "b": 127
  },
  "hsl": {
    "h": 258.857,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32687,
    "c": 0.15991,
    "h": 288.3
  },
  "luminance": 0.02918
}

Semantic roles & 50–950 ramp

primary
#37167F
secondary
#8EB43D
accent
#ED3BB5
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #37167F

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

Preview Lab → · Contrast checker → · Palette generator →

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