#371166#371166

#371166 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.6% C 0.136 H 297.5°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#371166
RGBrgb(55, 17, 102)
HSLhsl(267, 71%, 23%)
HSVhsv(267, 83%, 40%)
CMYKcmyk(46.1%, 83.3%, 0%, 60%)
CIE-LABlab(16.37, 36.88, -42.09)
CIE-LCHlch(16.37, 55.96, 311.23°)
OKLaboklab(29.59% 0.0627 -0.1205)
OKLCHoklch(29.59% 0.136 297.5)
XYZxyz(4.1736, 2.1724, 12.7672)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371166 #406611
analogous
#111566 #371166 #611166
triadic
#371166 #663711 #116637
tetradic
#371166 #661115 #406611 #116661
square
#371166 #661115 #406611 #116661
split-complementary
#371166 #666111 #156611
monochromatic
#0E041A #1B0832 #371166 #531A9A #7022CF

Accessibility & contrast

On white

14.64
#371166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #371166
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371166#FFFFFF#000000##FFFFFF
##3711661.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002968
Deuteranopia (green-blind)
#002864
Tritanopia (blue-blind)
#2B293B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #371166;
/* rgb */ color: rgb(55, 17, 102);
/* oklch */ color: oklch(29.6% 0.136 297.5);
Tailwind
colors: {
  custom: {
    50: '#745492',
    500: '#371166',
    950: '#000000',
  },
}
SCSS
$custom: #371166;
$custom-light: #745492;
$custom-dark: #000000;
JSON
{
  "hex": "#371166",
  "rgb": {
    "r": 55,
    "g": 17,
    "b": 102
  },
  "hsl": {
    "h": 266.824,
    "s": 71.429,
    "l": 23.333
  },
  "oklch": {
    "l": 0.29586,
    "c": 0.13584,
    "h": 297.5
  },
  "luminance": 0.02172
}

Semantic roles & 50–950 ramp

primary
#371166
secondary
#6F9E35
accent
#EE3A9D
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #371166

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

Preview Lab → · Contrast checker → · Palette generator →

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