#371167#371167

#371167 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.7% C 0.137 H 297.1°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#371167
RGBrgb(55, 17, 103)
HSLhsl(267, 72%, 24%)
HSVhsv(267, 83%, 40%)
CMYKcmyk(46.6%, 83.5%, 0%, 59.6%)
CIE-LABlab(16.47, 37.16, -42.58)
CIE-LCHlch(16.47, 56.52, 311.11°)
OKLaboklab(29.69% 0.0623 -0.122)
OKLCHoklch(29.69% 0.137 297.1)
XYZxyz(4.2235, 2.1923, 13.0300)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371167 #416711
analogous
#111667 #371167 #621167
triadic
#371167 #673711 #116737
tetradic
#371167 #671116 #416711 #116762
square
#371167 #671116 #416711 #116762
split-complementary
#371167 #676211 #166711
monochromatic
#0E041A #1B0832 #371167 #531A9C #6F22D0

Accessibility & contrast

On white

14.60
#371167 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#371167 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371167
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371167#FFFFFF#000000##FFFFFF
##3711671.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002969
Deuteranopia (green-blind)
#002865
Tritanopia (blue-blind)
#2A293C
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #371167;
/* rgb */ color: rgb(55, 17, 103);
/* oklch */ color: oklch(29.7% 0.137 297.1);
Tailwind
colors: {
  custom: {
    50: '#745493',
    500: '#371167',
    950: '#000000',
  },
}
SCSS
$custom: #371167;
$custom-light: #745493;
$custom-dark: #000000;
JSON
{
  "hex": "#371167",
  "rgb": {
    "r": 55,
    "g": 17,
    "b": 103
  },
  "hsl": {
    "h": 266.512,
    "s": 71.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.29685,
    "c": 0.13699,
    "h": 297.1
  },
  "luminance": 0.02192
}

Semantic roles & 50–950 ramp

primary
#371167
secondary
#709F35
accent
#EE399E
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #371167

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

Preview Lab → · Contrast checker → · Palette generator →

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