#371663#371663

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

Color values

HEX#371663
RGBrgb(55, 22, 99)
HSLhsl(266, 64%, 24%)
HSVhsv(266, 78%, 39%)
CMYKcmyk(44.4%, 77.8%, 0%, 61.2%)
CIE-LABlab(16.93, 33.63, -39.19)
CIE-LCHlch(16.93, 51.65, 310.64°)
OKLaboklab(29.89% 0.0588 -0.1121)
OKLCHoklch(29.89% 0.127 297.7)
XYZxyz(4.1140, 2.2868, 12.0266)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371663 #426316
analogous
#161B63 #371663 #5D1663
triadic
#371663 #633716 #166337
tetradic
#371663 #63161B #426316 #16635D
square
#371663 #63161B #426316 #16635D
split-complementary
#371663 #635D16 #1B6316
monochromatic
#0E0619 #1B0B31 #371663 #532195 #6F2CC7

Accessibility & contrast

On white

14.41
#371663 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#371663 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371663
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371663#FFFFFF#000000##FFFFFF
##3716631.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A65
Deuteranopia (green-blind)
#002961
Tritanopia (blue-blind)
#2C2A3B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #371663;
/* rgb */ color: rgb(55, 22, 99);
/* oklch */ color: oklch(29.9% 0.127 297.7);
Tailwind
colors: {
  custom: {
    50: '#735790',
    500: '#371663',
    950: '#000000',
  },
}
SCSS
$custom: #371663;
$custom-light: #735790;
$custom-dark: #000000;
JSON
{
  "hex": "#371663",
  "rgb": {
    "r": 55,
    "g": 22,
    "b": 99
  },
  "hsl": {
    "h": 265.714,
    "s": 63.636,
    "l": 23.725
  },
  "oklch": {
    "l": 0.2989,
    "c": 0.12657,
    "h": 297.7
  },
  "luminance": 0.02287
}

Semantic roles & 50–950 ramp

primary
#371663
secondary
#719A3B
accent
#E741A0
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030D
muted
#7B787D

Preview Lab

Preview with #371663

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

Preview Lab → · Contrast checker → · Palette generator →

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