#371052#371052

#371052 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.6% C 0.114 H 307.3°. Best body text is #FFFFFF at 15.46:1 contrast (WCAG AA passes).

Color values

HEX#371052
RGBrgb(55, 16, 82)
HSLhsl(275, 67%, 19%)
HSVhsv(275, 80%, 32%)
CMYKcmyk(32.9%, 80.5%, 0%, 67.8%)
CIE-LABlab(14.36, 32.00, -31.96)
CIE-LCHlch(14.36, 45.23, 315.03°)
OKLaboklab(27.6% 0.0692 -0.0908)
OKLCHoklch(27.6% 0.114 307.3)
XYZxyz(3.2835, 1.7920, 8.1539)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371052 #2B5210
analogous
#161052 #371052 #52104C
triadic
#371052 #523710 #105237
tetradic
#371052 #521610 #2B5210 #104C52
square
#371052 #521610 #2B5210 #104C52
split-complementary
#371052 #4C5210 #105216
monochromatic
#11051A #15061F #371052 #591A85 #7C24B8

Accessibility & contrast

On white

15.46
#371052 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #371052
15.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371052#FFFFFF#000000##FFFFFF
##3710521.0015.461.3615.46
#FFFFFF15.461.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002354
Deuteranopia (green-blind)
#002551
Tritanopia (blue-blind)
#322030
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #371052;
/* rgb */ color: rgb(55, 16, 82);
/* oklch */ color: oklch(27.6% 0.114 307.3);
Tailwind
colors: {
  custom: {
    50: '#715383',
    500: '#371052',
    950: '#000000',
  },
}
SCSS
$custom: #371052;
$custom-light: #715383;
$custom-dark: #000000;
JSON
{
  "hex": "#371052",
  "rgb": {
    "r": 55,
    "g": 16,
    "b": 82
  },
  "hsl": {
    "h": 275.455,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.27601,
    "c": 0.11414,
    "h": 307.3
  },
  "luminance": 0.01792
}

Semantic roles & 50–950 ramp

primary
#371052
secondary
#578C32
accent
#EA3E84
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #371052

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

Preview Lab → · Contrast checker → · Palette generator →

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