#371564#371564

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

Color values

HEX#371564
RGBrgb(55, 21, 100)
HSLhsl(266, 65%, 24%)
HSVhsv(266, 79%, 39%)
CMYKcmyk(45%, 79%, 0%, 60.8%)
CIE-LABlab(16.84, 34.43, -40.00)
CIE-LCHlch(16.84, 52.77, 310.72°)
OKLaboklab(29.86% 0.0596 -0.1144)
OKLCHoklch(29.86% 0.129 297.5)
XYZxyz(4.1434, 2.2686, 12.2737)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371564 #426415
analogous
#151A64 #371564 #5E1564
triadic
#371564 #643715 #156437
tetradic
#371564 #64151A #426415 #15645E
square
#371564 #64151A #426415 #15645E
split-complementary
#371564 #645E15 #1A6415
monochromatic
#0E0519 #1B0A31 #371564 #532097 #6F2AC9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##371564#FFFFFF#000000##FFFFFF
##3715641.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)
#002A66
Deuteranopia (green-blind)
#002962
Tritanopia (blue-blind)
#2B2A3B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #371564;
/* rgb */ color: rgb(55, 21, 100);
/* oklch */ color: oklch(29.9% 0.129 297.5);
Tailwind
colors: {
  custom: {
    50: '#735691',
    500: '#371564',
    950: '#000000',
  },
}
SCSS
$custom: #371564;
$custom-light: #735691;
$custom-dark: #000000;
JSON
{
  "hex": "#371564",
  "rgb": {
    "r": 55,
    "g": 21,
    "b": 100
  },
  "hsl": {
    "h": 265.823,
    "s": 65.289,
    "l": 23.725
  },
  "oklch": {
    "l": 0.29856,
    "c": 0.129,
    "h": 297.5
  },
  "luminance": 0.02269
}

Semantic roles & 50–950 ramp

primary
#371564
secondary
#719B3A
accent
#E840A0
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #371564

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

Preview Lab → · Contrast checker → · Palette generator →

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