#371050#371050

#371050 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.4% C 0.112 H 308.5°. Best body text is #FFFFFF at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#371050
RGBrgb(55, 16, 80)
HSLhsl(277, 67%, 19%)
HSVhsv(277, 80%, 31%)
CMYKcmyk(31.2%, 80%, 0%, 68.6%)
CIE-LABlab(14.19, 31.49, -30.87)
CIE-LCHlch(14.19, 44.10, 315.56°)
OKLaboklab(27.43% 0.0696 -0.0876)
OKLCHoklch(27.43% 0.112 308.5)
XYZxyz(3.2085, 1.7620, 7.7589)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371050 #295010
analogous
#171050 #371050 #501049
triadic
#371050 #503710 #105037
tetradic
#371050 #501710 #295010 #104950
square
#371050 #501710 #295010 #104950
split-complementary
#371050 #495010 #105017
monochromatic
#12051A #14061D #371050 #5A1A83 #7D24B6

Accessibility & contrast

On white

15.53
#371050 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#371050 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371050
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371050#FFFFFF#000000##FFFFFF
##3710501.0015.531.3515.53
#FFFFFF15.531.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002352
Deuteranopia (green-blind)
#01244F
Tritanopia (blue-blind)
#331F2F
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #371050;
/* rgb */ color: rgb(55, 16, 80);
/* oklch */ color: oklch(27.4% 0.112 308.5);
Tailwind
colors: {
  custom: {
    50: '#715282',
    500: '#371050',
    950: '#000000',
  },
}
SCSS
$custom: #371050;
$custom-light: #715282;
$custom-dark: #000000;
JSON
{
  "hex": "#371050",
  "rgb": {
    "r": 55,
    "g": 16,
    "b": 80
  },
  "hsl": {
    "h": 276.563,
    "s": 66.667,
    "l": 18.824
  },
  "oklch": {
    "l": 0.27427,
    "c": 0.11187,
    "h": 308.5
  },
  "luminance": 0.01762
}

Semantic roles & 50–950 ramp

primary
#371050
secondary
#548A32
accent
#EA3E81
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020A
muted
#7B787C

Preview Lab

Preview with #371050

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

Preview Lab → · Contrast checker → · Palette generator →

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