#371667#371667

#371667 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.3% C 0.131 H 296.1°. Best body text is #FFFFFF at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#371667
RGBrgb(55, 22, 103)
HSLhsl(264, 65%, 25%)
HSVhsv(264, 79%, 40%)
CMYKcmyk(46.6%, 78.6%, 0%, 59.6%)
CIE-LABlab(17.30, 34.77, -41.22)
CIE-LCHlch(17.30, 53.93, 310.15°)
OKLaboklab(30.27% 0.0578 -0.118)
OKLCHoklch(30.27% 0.131 296.1)
XYZxyz(4.3100, 2.3652, 13.0588)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371667 #466716
analogous
#161E67 #371667 #601667
triadic
#371667 #673716 #166737
tetradic
#371667 #67161E #466716 #166760
square
#371667 #67161E #466716 #166760
split-complementary
#371667 #676016 #1E6716
monochromatic
#0D0519 #1C0B35 #371667 #522199 #6D2CCC

Accessibility & contrast

On white

14.26
#371667 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #371667
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371667#FFFFFF#000000##FFFFFF
##3716671.0014.261.4714.26
#FFFFFF14.261.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B69
Deuteranopia (green-blind)
#002965
Tritanopia (blue-blind)
#2A2B3D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #371667;
/* rgb */ color: rgb(55, 22, 103);
/* oklch */ color: oklch(30.3% 0.131 296.1);
Tailwind
colors: {
  custom: {
    50: '#735793',
    500: '#371667',
    950: '#000000',
  },
}
SCSS
$custom: #371667;
$custom-light: #735793;
$custom-dark: #000000;
JSON
{
  "hex": "#371667",
  "rgb": {
    "r": 55,
    "g": 22,
    "b": 103
  },
  "hsl": {
    "h": 264.444,
    "s": 64.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.30267,
    "c": 0.13142,
    "h": 296.1
  },
  "luminance": 0.02365
}

Semantic roles & 50–950 ramp

primary
#371667
secondary
#769E3B
accent
#E840A3
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #371667

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

Preview Lab → · Contrast checker → · Palette generator →

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