#371354#371354

#371354 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 28.1% C 0.112 H 305.6°. Best body text is #FFFFFF at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#371354
RGBrgb(55, 19, 84)
HSLhsl(273, 63%, 20%)
HSVhsv(273, 77%, 33%)
CMYKcmyk(34.5%, 77.4%, 0%, 67.1%)
CIE-LABlab(15.05, 31.04, -32.20)
CIE-LCHlch(15.05, 44.72, 313.95°)
OKLaboklab(28.15% 0.0654 -0.0915)
OKLCHoklch(28.15% 0.112 305.6)
XYZxyz(3.4083, 1.9181, 8.5765)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371354 #305413
analogous
#171354 #371354 #541350
triadic
#371354 #543713 #135437
tetradic
#371354 #541713 #305413 #135054
square
#371354 #541713 #305413 #135054
split-complementary
#371354 #505413 #135417
monochromatic
#100619 #160822 #371354 #581E86 #782AB8

Accessibility & contrast

On white

15.18
#371354 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#371354 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371354
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371354#FFFFFF#000000##FFFFFF
##3713541.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002556
Deuteranopia (green-blind)
#002653
Tritanopia (blue-blind)
#322232
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #371354;
/* rgb */ color: rgb(55, 19, 84);
/* oklch */ color: oklch(28.1% 0.112 305.6);
Tailwind
colors: {
  custom: {
    50: '#715485',
    500: '#371354',
    950: '#000000',
  },
}
SCSS
$custom: #371354;
$custom-light: #715485;
$custom-dark: #000000;
JSON
{
  "hex": "#371354",
  "rgb": {
    "r": 55,
    "g": 19,
    "b": 84
  },
  "hsl": {
    "h": 273.231,
    "s": 63.107,
    "l": 20.196
  },
  "oklch": {
    "l": 0.28148,
    "c": 0.11246,
    "h": 305.6
  },
  "luminance": 0.01918
}

Semantic roles & 50–950 ramp

primary
#371354
secondary
#5D8C36
accent
#E6428B
background
#F7F5F8
surface
#EDE8EF
border
#C8C4CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #371354

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

Preview Lab → · Contrast checker → · Palette generator →

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