#371660#371660

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

Color values

HEX#371660
RGBrgb(55, 22, 96)
HSLhsl(267, 63%, 23%)
HSVhsv(267, 77%, 38%)
CMYKcmyk(42.7%, 77.1%, 0%, 62.4%)
CIE-LABlab(16.65, 32.78, -37.65)
CIE-LCHlch(16.65, 49.92, 311.05°)
OKLaboklab(29.61% 0.0595 -0.1075)
OKLCHoklch(29.61% 0.123 299)
XYZxyz(3.9732, 2.2305, 11.2853)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371660 #3F6016
analogous
#161A60 #371660 #5C1660
triadic
#371660 #603716 #166037
tetradic
#371660 #60161A #3F6016 #16605C
square
#371660 #60161A #3F6016 #16605C
split-complementary
#371660 #605C16 #1A6016
monochromatic
#0E0619 #1A0B2E #371660 #542192 #702DC4

Accessibility & contrast

On white

14.52
#371660 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #371660
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371660#FFFFFF#000000##FFFFFF
##3716601.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002962
Deuteranopia (green-blind)
#00285F
Tritanopia (blue-blind)
#2D2939
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #371660;
/* rgb */ color: rgb(55, 22, 96);
/* oklch */ color: oklch(29.6% 0.123 299.0);
Tailwind
colors: {
  custom: {
    50: '#72568e',
    500: '#371660',
    950: '#000000',
  },
}
SCSS
$custom: #371660;
$custom-light: #72568e;
$custom-dark: #000000;
JSON
{
  "hex": "#371660",
  "rgb": {
    "r": 55,
    "g": 22,
    "b": 96
  },
  "hsl": {
    "h": 266.757,
    "s": 62.712,
    "l": 23.137
  },
  "oklch": {
    "l": 0.29612,
    "c": 0.12291,
    "h": 299
  },
  "luminance": 0.02231
}

Semantic roles & 50–950 ramp

primary
#371660
secondary
#6E973B
accent
#E6429D
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #371660

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

Preview Lab → · Contrast checker → · Palette generator →

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