#371566#371566

#371566 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.0% C 0.131 H 296.7°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#371566
RGBrgb(55, 21, 102)
HSLhsl(265, 66%, 24%)
HSVhsv(265, 79%, 40%)
CMYKcmyk(46.1%, 79.4%, 0%, 60%)
CIE-LABlab(17.03, 34.99, -41.01)
CIE-LCHlch(17.03, 53.91, 310.48°)
OKLaboklab(30.05% 0.059 -0.1174)
OKLCHoklch(30.05% 0.131 296.7)
XYZxyz(4.2414, 2.3078, 12.7898)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371566 #446615
analogous
#151C66 #371566 #601566
triadic
#371566 #663715 #156637
tetradic
#371566 #66151C #446615 #156660
square
#371566 #66151C #446615 #156660
split-complementary
#371566 #666015 #1C6615
monochromatic
#0E0519 #1C0B33 #371566 #521F99 #6E2ACC

Accessibility & contrast

On white

14.37
#371566 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #371566
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371566#FFFFFF#000000##FFFFFF
##3715661.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A68
Deuteranopia (green-blind)
#002964
Tritanopia (blue-blind)
#2A2A3C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #371566;
/* rgb */ color: rgb(55, 21, 102);
/* oklch */ color: oklch(30.0% 0.131 296.7);
Tailwind
colors: {
  custom: {
    50: '#735692',
    500: '#371566',
    950: '#000000',
  },
}
SCSS
$custom: #371566;
$custom-light: #735692;
$custom-dark: #000000;
JSON
{
  "hex": "#371566",
  "rgb": {
    "r": 55,
    "g": 21,
    "b": 102
  },
  "hsl": {
    "h": 265.185,
    "s": 65.854,
    "l": 24.118
  },
  "oklch": {
    "l": 0.30047,
    "c": 0.1314,
    "h": 296.7
  },
  "luminance": 0.02308
}

Semantic roles & 50–950 ramp

primary
#371566
secondary
#739D3A
accent
#E93FA2
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #371566

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

Preview Lab → · Contrast checker → · Palette generator →

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