#371553#371553

#371553 is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.3% C 0.108 H 305.6°. Best body text is #FFFFFF at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#371553
RGBrgb(55, 21, 83)
HSLhsl(273, 60%, 20%)
HSVhsv(273, 75%, 33%)
CMYKcmyk(33.7%, 74.7%, 0%, 67.5%)
CIE-LABlab(15.35, 29.71, -31.04)
CIE-LCHlch(15.35, 42.97, 313.75°)
OKLaboklab(28.33% 0.0632 -0.0881)
OKLCHoklch(28.33% 0.108 305.6)
XYZxyz(3.4047, 1.9731, 8.3834)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371553 #315315
analogous
#181553 #371553 #531550
triadic
#371553 #533715 #155337
tetradic
#371553 #531815 #315315 #155053
square
#371553 #531815 #315315 #155053
split-complementary
#371553 #505315 #155318
monochromatic
#100618 #170922 #371553 #572184 #782EB5

Accessibility & contrast

On white

15.06
#371553 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#371553 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371553
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371553#FFFFFF#000000##FFFFFF
##3715531.0015.061.3915.06
#FFFFFF15.061.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002555
Deuteranopia (green-blind)
#032752
Tritanopia (blue-blind)
#322332
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #371553;
/* rgb */ color: rgb(55, 21, 83);
/* oklch */ color: oklch(28.3% 0.108 305.6);
Tailwind
colors: {
  custom: {
    50: '#715584',
    500: '#371553',
    950: '#000000',
  },
}
SCSS
$custom: #371553;
$custom-light: #715584;
$custom-dark: #000000;
JSON
{
  "hex": "#371553",
  "rgb": {
    "r": 55,
    "g": 21,
    "b": 83
  },
  "hsl": {
    "h": 272.903,
    "s": 59.615,
    "l": 20.392
  },
  "oklch": {
    "l": 0.28331,
    "c": 0.1084,
    "h": 305.6
  },
  "luminance": 0.01973
}

Semantic roles & 50–950 ramp

primary
#371553
secondary
#5E8B39
accent
#E3458C
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #371553

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

Preview Lab → · Contrast checker → · Palette generator →

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