#37164F#37164F

#37164F is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.1% C 0.102 H 307.7°. Best body text is #FFFFFF at 15.11:1 contrast (WCAG AA passes).

Color values

HEX#37164F
RGBrgb(55, 22, 79)
HSLhsl(275, 56%, 20%)
HSVhsv(275, 72%, 31%)
CMYKcmyk(30.4%, 72.2%, 0%, 69%)
CIE-LABlab(15.23, 28.08, -28.51)
CIE-LCHlch(15.23, 40.02, 314.57°)
OKLaboklab(28.14% 0.0624 -0.0807)
OKLCHoklch(28.14% 0.102 307.7)
XYZxyz(3.2734, 1.9506, 7.5997)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37164F #2E4F16
analogous
#1B164F #37164F #4F164B
triadic
#37164F #4F3716 #164F37
tetradic
#37164F #4F1B16 #2E4F16 #164B4F
square
#37164F #4F1B16 #2E4F16 #164B4F
split-complementary
#37164F #4B4F16 #164F1B
monochromatic
#110718 #16091F #37164F #58237F #7A31AF

Accessibility & contrast

On white

15.11
#37164F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#37164F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37164F
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37164F#FFFFFF#000000##FFFFFF
##37164F1.0015.111.3915.11
#FFFFFF15.111.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002551
Deuteranopia (green-blind)
#0A264E
Tritanopia (blue-blind)
#332230
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #37164f;
/* rgb */ color: rgb(55, 22, 79);
/* oklch */ color: oklch(28.1% 0.102 307.7);
Tailwind
colors: {
  custom: {
    50: '#705681',
    500: '#37164f',
    950: '#000000',
  },
}
SCSS
$custom: #37164f;
$custom-light: #705681;
$custom-dark: #000000;
JSON
{
  "hex": "#37164f",
  "rgb": {
    "r": 55,
    "g": 22,
    "b": 79
  },
  "hsl": {
    "h": 274.737,
    "s": 56.436,
    "l": 19.804
  },
  "oklch": {
    "l": 0.28144,
    "c": 0.10196,
    "h": 307.7
  },
  "luminance": 0.01951
}

Semantic roles & 50–950 ramp

primary
#37164F
secondary
#5A863A
accent
#E04888
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #37164F

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

Preview Lab → · Contrast checker → · Palette generator →

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