#37167C#37167C

#37167C is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.4% C 0.156 H 289.2°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#37167C
RGBrgb(55, 22, 124)
HSLhsl(259, 70%, 29%)
HSVhsv(259, 82%, 49%)
CMYKcmyk(55.6%, 82.3%, 0%, 51.4%)
CIE-LABlab(19.40, 40.82, -51.37)
CIE-LCHlch(19.40, 65.61, 308.48°)
OKLaboklab(32.37% 0.0513 -0.1477)
OKLCHoklch(32.37% 0.156 289.2)
XYZxyz(5.4995, 2.8410, 19.3235)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37167C #5B7C16
analogous
#16287C #37167C #6A167C
triadic
#37167C #7C3716 #167C37
tetradic
#37167C #7C1628 #5B7C16 #167C6A
square
#37167C #7C1628 #5B7C16 #167C6A
split-complementary
#37167C #7C6A16 #287C16
monochromatic
#0C051A #200D48 #37167C #4E1FB0 #6832DB

Accessibility & contrast

On white

13.39
#37167C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #37167C
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37167C#FFFFFF#000000##FFFFFF
##37167C1.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317F
Deuteranopia (green-blind)
#002C7A
Tritanopia (blue-blind)
#1C3449
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #37167c;
/* rgb */ color: rgb(55, 22, 124);
/* oklch */ color: oklch(32.4% 0.156 289.2);
Tailwind
colors: {
  custom: {
    50: '#7758a3',
    500: '#37167c',
    950: '#000000',
  },
}
SCSS
$custom: #37167c;
$custom-light: #7758a3;
$custom-dark: #000000;
JSON
{
  "hex": "#37167c",
  "rgb": {
    "r": 55,
    "g": 22,
    "b": 124
  },
  "hsl": {
    "h": 259.412,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32372,
    "c": 0.15641,
    "h": 289.2
  },
  "luminance": 0.02841
}

Semantic roles & 50–950 ramp

primary
#37167C
secondary
#8BB13D
accent
#ED3BB3
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #37167C

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

Preview Lab → · Contrast checker → · Palette generator →

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