#371568#371568

#371568 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.2% C 0.134 H 295.9°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#371568
RGBrgb(55, 21, 104)
HSLhsl(265, 66%, 25%)
HSVhsv(265, 80%, 41%)
CMYKcmyk(47.1%, 79.8%, 0%, 59.2%)
CIE-LABlab(17.22, 35.56, -42.01)
CIE-LCHlch(17.22, 55.04, 310.25°)
OKLaboklab(30.24% 0.0585 -0.1203)
OKLCHoklch(30.24% 0.134 295.9)
XYZxyz(4.3417, 2.3479, 13.3185)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371568 #466815
analogous
#151D68 #371568 #611568
triadic
#371568 #683715 #156837
tetradic
#371568 #68151D #466815 #156861
square
#371568 #68151D #466815 #156861
split-complementary
#371568 #686115 #1D6815
monochromatic
#0D0519 #1C0B35 #371568 #521F9B #6D2ACE

Accessibility & contrast

On white

14.29
#371568 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #371568
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371568#FFFFFF#000000##FFFFFF
##3715681.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6A
Deuteranopia (green-blind)
#002966
Tritanopia (blue-blind)
#292B3E
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #371568;
/* rgb */ color: rgb(55, 21, 104);
/* oklch */ color: oklch(30.2% 0.134 295.9);
Tailwind
colors: {
  custom: {
    50: '#745694',
    500: '#371568',
    950: '#000000',
  },
}
SCSS
$custom: #371568;
$custom-light: #745694;
$custom-dark: #000000;
JSON
{
  "hex": "#371568",
  "rgb": {
    "r": 55,
    "g": 21,
    "b": 104
  },
  "hsl": {
    "h": 264.578,
    "s": 66.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.30239,
    "c": 0.1338,
    "h": 295.9
  },
  "luminance": 0.02348
}

Semantic roles & 50–950 ramp

primary
#371568
secondary
#769F3A
accent
#E93EA3
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #371568

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

Preview Lab → · Contrast checker → · Palette generator →

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