#371567#371567

#371567 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.1% C 0.133 H 296.3°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#371567
RGBrgb(55, 21, 103)
HSLhsl(265, 66%, 24%)
HSVhsv(265, 80%, 40%)
CMYKcmyk(46.6%, 79.6%, 0%, 59.6%)
CIE-LABlab(17.12, 35.28, -41.51)
CIE-LCHlch(17.12, 54.48, 310.36°)
OKLaboklab(30.14% 0.0588 -0.1189)
OKLCHoklch(30.14% 0.133 296.3)
XYZxyz(4.2912, 2.3277, 13.0525)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371567 #456715
analogous
#151C67 #371567 #601567
triadic
#371567 #673715 #156737
tetradic
#371567 #67151C #456715 #156760
square
#371567 #67151C #456715 #156760
split-complementary
#371567 #676015 #1C6715
monochromatic
#0E0519 #1C0B34 #371567 #521F9A #6D2ACD

Accessibility & contrast

On white

14.33
#371567 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #371567
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371567#FFFFFF#000000##FFFFFF
##3715671.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B69
Deuteranopia (green-blind)
#002965
Tritanopia (blue-blind)
#2A2B3D
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #371567;
/* rgb */ color: rgb(55, 21, 103);
/* oklch */ color: oklch(30.1% 0.133 296.3);
Tailwind
colors: {
  custom: {
    50: '#735693',
    500: '#371567',
    950: '#000000',
  },
}
SCSS
$custom: #371567;
$custom-light: #735693;
$custom-dark: #000000;
JSON
{
  "hex": "#371567",
  "rgb": {
    "r": 55,
    "g": 21,
    "b": 103
  },
  "hsl": {
    "h": 264.878,
    "s": 66.129,
    "l": 24.314
  },
  "oklch": {
    "l": 0.30143,
    "c": 0.1326,
    "h": 296.3
  },
  "luminance": 0.02328
}

Semantic roles & 50–950 ramp

primary
#371567
secondary
#749E3A
accent
#E93FA2
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #371567

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

Preview Lab → · Contrast checker → · Palette generator →

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