#371164#371164

#371164 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.4% C 0.134 H 298.3°. Best body text is #FFFFFF at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#371164
RGBrgb(55, 17, 100)
HSLhsl(267, 71%, 23%)
HSVhsv(267, 83%, 39%)
CMYKcmyk(45%, 83%, 0%, 60.8%)
CIE-LABlab(16.17, 36.34, -41.09)
CIE-LCHlch(16.17, 54.85, 311.49°)
OKLaboklab(29.39% 0.0633 -0.1176)
OKLCHoklch(29.39% 0.134 298.3)
XYZxyz(4.0757, 2.1332, 12.2511)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371164 #3E6411
analogous
#111464 #371164 #601164
triadic
#371164 #643711 #116437
tetradic
#371164 #641114 #3E6411 #116460
square
#371164 #641114 #3E6411 #116460
split-complementary
#371164 #646011 #146411
monochromatic
#0E041A #1A0830 #371164 #541A98 #7123CD

Accessibility & contrast

On white

14.72
#371164 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#371164 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371164
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371164#FFFFFF#000000##FFFFFF
##3711641.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002866
Deuteranopia (green-blind)
#002762
Tritanopia (blue-blind)
#2C283A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #371164;
/* rgb */ color: rgb(55, 17, 100);
/* oklch */ color: oklch(29.4% 0.134 298.3);
Tailwind
colors: {
  custom: {
    50: '#735491',
    500: '#371164',
    950: '#000000',
  },
}
SCSS
$custom: #371164;
$custom-light: #735491;
$custom-dark: #000000;
JSON
{
  "hex": "#371164",
  "rgb": {
    "r": 55,
    "g": 17,
    "b": 100
  },
  "hsl": {
    "h": 267.47,
    "s": 70.94,
    "l": 22.941
  },
  "oklch": {
    "l": 0.29389,
    "c": 0.13355,
    "h": 298.3
  },
  "luminance": 0.02133
}

Semantic roles & 50–950 ramp

primary
#371164
secondary
#6D9C35
accent
#EE3A9B
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #371164

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

Preview Lab → · Contrast checker → · Palette generator →

#371164 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva