#371666#371666

#371666 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.2% C 0.130 H 296.5°. Best body text is #FFFFFF at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#371666
RGBrgb(55, 22, 102)
HSLhsl(265, 65%, 24%)
HSVhsv(265, 78%, 40%)
CMYKcmyk(46.1%, 78.4%, 0%, 60%)
CIE-LABlab(17.20, 34.49, -40.72)
CIE-LCHlch(17.20, 53.36, 310.27°)
OKLaboklab(30.17% 0.0581 -0.1165)
OKLCHoklch(30.17% 0.13 296.5)
XYZxyz(4.2601, 2.3453, 12.7960)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371666 #456616
analogous
#161D66 #371666 #5F1666
triadic
#371666 #663716 #166637
tetradic
#371666 #66161D #456616 #16665F
square
#371666 #66161D #456616 #16665F
split-complementary
#371666 #665F16 #1D6616
monochromatic
#0E0519 #1C0B34 #371666 #522198 #6D2CCB

Accessibility & contrast

On white

14.30
#371666 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#371666 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371666
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371666#FFFFFF#000000##FFFFFF
##3716661.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #371666;
/* rgb */ color: rgb(55, 22, 102);
/* oklch */ color: oklch(30.2% 0.130 296.5);
Tailwind
colors: {
  custom: {
    50: '#735792',
    500: '#371666',
    950: '#000000',
  },
}
SCSS
$custom: #371666;
$custom-light: #735792;
$custom-dark: #000000;
JSON
{
  "hex": "#371666",
  "rgb": {
    "r": 55,
    "g": 22,
    "b": 102
  },
  "hsl": {
    "h": 264.75,
    "s": 64.516,
    "l": 24.314
  },
  "oklch": {
    "l": 0.30172,
    "c": 0.13022,
    "h": 296.5
  },
  "luminance": 0.02345
}

Semantic roles & 50–950 ramp

primary
#371666
secondary
#749D3B
accent
#E840A3
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #371666

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

Preview Lab → · Contrast checker → · Palette generator →

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