#371573#371573

#371573 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.3% C 0.147 H 292.0°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#371573
RGBrgb(55, 21, 115)
HSLhsl(262, 69%, 27%)
HSVhsv(262, 82%, 45%)
CMYKcmyk(52.2%, 81.7%, 0%, 54.9%)
CIE-LABlab(18.30, 38.70, -47.39)
CIE-LCHlch(18.30, 61.18, 309.24°)
OKLaboklab(31.33% 0.0551 -0.1361)
OKLCHoklch(31.33% 0.147 292)
XYZxyz(4.9374, 2.5862, 16.4554)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371573 #517315
analogous
#152273 #371573 #661573
triadic
#371573 #733715 #157337
tetradic
#371573 #731522 #517315 #157366
square
#371573 #731522 #517315 #157366
split-complementary
#371573 #736615 #227315
monochromatic
#0C051A #1E0C3F #371573 #501EA7 #692AD8

Accessibility & contrast

On white

13.84
#371573 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#371573 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371573
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371573#FFFFFF#000000##FFFFFF
##3715731.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E76
Deuteranopia (green-blind)
#002B71
Tritanopia (blue-blind)
#233044
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #371573;
/* rgb */ color: rgb(55, 21, 115);
/* oklch */ color: oklch(31.3% 0.147 292.0);
Tailwind
colors: {
  custom: {
    50: '#75579c',
    500: '#371573',
    950: '#000000',
  },
}
SCSS
$custom: #371573;
$custom-light: #75579c;
$custom-dark: #000000;
JSON
{
  "hex": "#371573",
  "rgb": {
    "r": 55,
    "g": 21,
    "b": 115
  },
  "hsl": {
    "h": 261.702,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.31332,
    "c": 0.14682,
    "h": 292
  },
  "luminance": 0.02586
}

Semantic roles & 50–950 ramp

primary
#371573
secondary
#81A93B
accent
#EC3CAC
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #371573

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

Preview Lab → · Contrast checker → · Palette generator →

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