#371555#371555

#371555 is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.5% C 0.111 H 304.5°. Best body text is #FFFFFF at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#371555
RGBrgb(55, 21, 85)
HSLhsl(272, 60%, 21%)
HSVhsv(272, 75%, 33%)
CMYKcmyk(35.3%, 75.3%, 0%, 66.7%)
CIE-LABlab(15.51, 30.26, -32.13)
CIE-LCHlch(15.51, 44.13, 313.28°)
OKLaboklab(28.5% 0.0629 -0.0913)
OKLCHoklch(28.5% 0.111 304.5)
XYZxyz(3.4830, 2.0044, 8.7960)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371555 #335515
analogous
#171555 #371555 #551553
triadic
#371555 #553715 #155537
tetradic
#371555 #551715 #335515 #155355
square
#371555 #551715 #335515 #155355
split-complementary
#371555 #535515 #155517
monochromatic
#100619 #170924 #371555 #572186 #772DB7

Accessibility & contrast

On white

14.99
#371555 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#371555 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371555
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371555#FFFFFF#000000##FFFFFF
##3715551.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002657
Deuteranopia (green-blind)
#002754
Tritanopia (blue-blind)
#312433
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #371555;
/* rgb */ color: rgb(55, 21, 85);
/* oklch */ color: oklch(28.5% 0.111 304.5);
Tailwind
colors: {
  custom: {
    50: '#715585',
    500: '#371555',
    950: '#000000',
  },
}
SCSS
$custom: #371555;
$custom-light: #715585;
$custom-dark: #000000;
JSON
{
  "hex": "#371555",
  "rgb": {
    "r": 55,
    "g": 21,
    "b": 85
  },
  "hsl": {
    "h": 271.875,
    "s": 60.377,
    "l": 20.784
  },
  "oklch": {
    "l": 0.28501,
    "c": 0.11084,
    "h": 304.5
  },
  "luminance": 0.02004
}

Semantic roles & 50–950 ramp

primary
#371555
secondary
#608D39
accent
#E4448F
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #371555

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

Preview Lab → · Contrast checker → · Palette generator →

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