#371563#371563

#371563 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.8% C 0.128 H 297.9°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#371563
RGBrgb(55, 21, 99)
HSLhsl(266, 65%, 24%)
HSVhsv(266, 79%, 39%)
CMYKcmyk(44.4%, 78.8%, 0%, 61.2%)
CIE-LABlab(16.74, 34.15, -39.49)
CIE-LCHlch(16.74, 52.20, 310.85°)
OKLaboklab(29.76% 0.0599 -0.1129)
OKLCHoklch(29.76% 0.128 297.9)
XYZxyz(4.0953, 2.2493, 12.0204)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371563 #416315
analogous
#151A63 #371563 #5E1563
triadic
#371563 #633715 #156337
tetradic
#371563 #63151A #416315 #15635E
square
#371563 #63151A #416315 #15635E
split-complementary
#371563 #635E15 #1A6315
monochromatic
#0E0519 #1B0A31 #371563 #532095 #6F2AC8

Accessibility & contrast

On white

14.48
#371563 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #371563
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371563#FFFFFF#000000##FFFFFF
##3715631.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002965
Deuteranopia (green-blind)
#002861
Tritanopia (blue-blind)
#2C293B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #371563;
/* rgb */ color: rgb(55, 21, 99);
/* oklch */ color: oklch(29.8% 0.128 297.9);
Tailwind
colors: {
  custom: {
    50: '#735690',
    500: '#371563',
    950: '#000000',
  },
}
SCSS
$custom: #371563;
$custom-light: #735690;
$custom-dark: #000000;
JSON
{
  "hex": "#371563",
  "rgb": {
    "r": 55,
    "g": 21,
    "b": 99
  },
  "hsl": {
    "h": 266.154,
    "s": 65,
    "l": 23.529
  },
  "oklch": {
    "l": 0.29762,
    "c": 0.12781,
    "h": 297.9
  },
  "luminance": 0.02249
}

Semantic roles & 50–950 ramp

primary
#371563
secondary
#709A3A
accent
#E8409F
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030D
muted
#7B787D

Preview Lab

Preview with #371563

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

Preview Lab → · Contrast checker → · Palette generator →

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