#371456#371456

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

Color values

HEX#371456
RGBrgb(55, 20, 86)
HSLhsl(272, 62%, 21%)
HSVhsv(272, 77%, 34%)
CMYKcmyk(36%, 76.7%, 0%, 66.3%)
CIE-LABlab(15.41, 31.06, -32.98)
CIE-LCHlch(15.41, 45.30, 313.28°)
OKLaboklab(28.45% 0.0639 -0.0938)
OKLCHoklch(28.45% 0.113 304.3)
XYZxyz(3.5050, 1.9844, 9.0007)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371456 #335614
analogous
#161456 #371456 #561454
triadic
#371456 #563714 #145637
tetradic
#371456 #561614 #335614 #145456
square
#371456 #561614 #335614 #145456
split-complementary
#371456 #545614 #145616
monochromatic
#100619 #170824 #371456 #572088 #772BB9

Accessibility & contrast

On white

15.03
#371456 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #371456
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371456#FFFFFF#000000##FFFFFF
##3714561.0015.031.4015.03
#FFFFFF15.031.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #371456;
/* rgb */ color: rgb(55, 20, 86);
/* oklch */ color: oklch(28.5% 0.113 304.3);
Tailwind
colors: {
  custom: {
    50: '#715586',
    500: '#371456',
    950: '#000000',
  },
}
SCSS
$custom: #371456;
$custom-light: #715586;
$custom-dark: #000000;
JSON
{
  "hex": "#371456",
  "rgb": {
    "r": 55,
    "g": 20,
    "b": 86
  },
  "hsl": {
    "h": 271.818,
    "s": 62.264,
    "l": 20.784
  },
  "oklch": {
    "l": 0.28453,
    "c": 0.11347,
    "h": 304.3
  },
  "luminance": 0.01984
}

Semantic roles & 50–950 ramp

primary
#371456
secondary
#608E38
accent
#E5428F
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #371456

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

Preview Lab → · Contrast checker → · Palette generator →

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