#371466#371466

#371466 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.9% C 0.133 H 296.9°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#371466
RGBrgb(55, 20, 102)
HSLhsl(266, 67%, 24%)
HSVhsv(266, 80%, 40%)
CMYKcmyk(46.1%, 80.4%, 0%, 60%)
CIE-LABlab(16.85, 35.49, -41.29)
CIE-LCHlch(16.85, 54.44, 310.68°)
OKLaboklab(29.93% 0.06 -0.1182)
OKLCHoklch(29.93% 0.133 296.9)
XYZxyz(4.2233, 2.2718, 12.7838)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371466 #436614
analogous
#141A66 #371466 #601466
triadic
#371466 #663714 #146637
tetradic
#371466 #66141A #436614 #146660
square
#371466 #66141A #436614 #146660
split-complementary
#371466 #666014 #1A6614
monochromatic
#0E051A #1B0A33 #371466 #531E99 #6E28CC

Accessibility & contrast

On white

14.44
#371466 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#371466 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371466
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371466#FFFFFF#000000##FFFFFF
##3714661.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A68
Deuteranopia (green-blind)
#002964
Tritanopia (blue-blind)
#2B2A3C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #371466;
/* rgb */ color: rgb(55, 20, 102);
/* oklch */ color: oklch(29.9% 0.133 296.9);
Tailwind
colors: {
  custom: {
    50: '#735692',
    500: '#371466',
    950: '#000000',
  },
}
SCSS
$custom: #371466;
$custom-light: #735692;
$custom-dark: #000000;
JSON
{
  "hex": "#371466",
  "rgb": {
    "r": 55,
    "g": 20,
    "b": 102
  },
  "hsl": {
    "h": 265.61,
    "s": 67.213,
    "l": 23.922
  },
  "oklch": {
    "l": 0.29925,
    "c": 0.13256,
    "h": 296.9
  },
  "luminance": 0.02272
}

Semantic roles & 50–950 ramp

primary
#371466
secondary
#729D39
accent
#EA3EA1
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #371466

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

Preview Lab → · Contrast checker → · Palette generator →

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