#371051#371051

#371051 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.5% C 0.113 H 307.9°. Best body text is #FFFFFF at 15.49:1 contrast (WCAG AA passes).

Color values

HEX#371051
RGBrgb(55, 16, 81)
HSLhsl(276, 67%, 19%)
HSVhsv(276, 80%, 32%)
CMYKcmyk(32.1%, 80.2%, 0%, 68.2%)
CIE-LABlab(14.27, 31.74, -31.42)
CIE-LCHlch(14.27, 44.66, 315.29°)
OKLaboklab(27.51% 0.0694 -0.0892)
OKLCHoklch(27.51% 0.113 307.9)
XYZxyz(3.2457, 1.7769, 7.9550)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371051 #2A5110
analogous
#171051 #371051 #51104B
triadic
#371051 #513710 #105137
tetradic
#371051 #511710 #2A5110 #104B51
square
#371051 #511710 #2A5110 #104B51
split-complementary
#371051 #4B5110 #105117
monochromatic
#11051A #14061E #371051 #5A1A84 #7C24B7

Accessibility & contrast

On white

15.49
#371051 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#371051 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371051
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371051#FFFFFF#000000##FFFFFF
##3710511.0015.491.3615.49
#FFFFFF15.491.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002353
Deuteranopia (green-blind)
#002550
Tritanopia (blue-blind)
#331F2F
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #371051;
/* rgb */ color: rgb(55, 16, 81);
/* oklch */ color: oklch(27.5% 0.113 307.9);
Tailwind
colors: {
  custom: {
    50: '#715382',
    500: '#371051',
    950: '#000000',
  },
}
SCSS
$custom: #371051;
$custom-light: #715382;
$custom-dark: #000000;
JSON
{
  "hex": "#371051",
  "rgb": {
    "r": 55,
    "g": 16,
    "b": 81
  },
  "hsl": {
    "h": 276,
    "s": 67.01,
    "l": 19.02
  },
  "oklch": {
    "l": 0.27514,
    "c": 0.113,
    "h": 307.9
  },
  "luminance": 0.01777
}

Semantic roles & 50–950 ramp

primary
#371051
secondary
#568B32
accent
#EA3E83
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020A
muted
#7B787C

Preview Lab

Preview with #371051

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

Preview Lab → · Contrast checker → · Palette generator →

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