#371054#371054

#371054 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.8% C 0.116 H 306.2°. Best body text is #FFFFFF at 15.39:1 contrast (WCAG AA passes).

Color values

HEX#371054
RGBrgb(55, 16, 84)
HSLhsl(274, 68%, 20%)
HSVhsv(274, 81%, 33%)
CMYKcmyk(34.5%, 81%, 0%, 67.1%)
CIE-LABlab(14.53, 32.52, -33.04)
CIE-LCHlch(14.53, 46.36, 314.54°)
OKLaboklab(27.78% 0.0688 -0.094)
OKLCHoklch(27.78% 0.116 306.2)
XYZxyz(3.3607, 1.8229, 8.5606)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371054 #2D5410
analogous
#151054 #371054 #54104F
triadic
#371054 #543710 #105437
tetradic
#371054 #541510 #2D5410 #104F54
square
#371054 #541510 #2D5410 #104F54
split-complementary
#371054 #4F5410 #105415
monochromatic
#11051A #150621 #371054 #591A87 #7A24BB

Accessibility & contrast

On white

15.39
#371054 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #371054
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371054#FFFFFF#000000##FFFFFF
##3710541.0015.391.3615.39
#FFFFFF15.391.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002456
Deuteranopia (green-blind)
#002553
Tritanopia (blue-blind)
#322131
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #371054;
/* rgb */ color: rgb(55, 16, 84);
/* oklch */ color: oklch(27.8% 0.116 306.2);
Tailwind
colors: {
  custom: {
    50: '#715385',
    500: '#371054',
    950: '#000000',
  },
}
SCSS
$custom: #371054;
$custom-light: #715385;
$custom-dark: #000000;
JSON
{
  "hex": "#371054",
  "rgb": {
    "r": 55,
    "g": 16,
    "b": 84
  },
  "hsl": {
    "h": 274.412,
    "s": 68,
    "l": 19.608
  },
  "oklch": {
    "l": 0.27778,
    "c": 0.11643,
    "h": 306.2
  },
  "luminance": 0.01823
}

Semantic roles & 50–950 ramp

primary
#371054
secondary
#598E32
accent
#EB3D87
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #371054

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

Preview Lab → · Contrast checker → · Palette generator →

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