#371457#371457

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

Color values

HEX#371457
RGBrgb(55, 20, 87)
HSLhsl(271, 63%, 21%)
HSVhsv(271, 77%, 34%)
CMYKcmyk(36.8%, 77%, 0%, 65.9%)
CIE-LABlab(15.49, 31.33, -33.51)
CIE-LCHlch(15.49, 45.88, 313.07°)
OKLaboklab(28.54% 0.0637 -0.0954)
OKLCHoklch(28.54% 0.115 303.7)
XYZxyz(3.5456, 2.0007, 9.2144)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371457 #345714
analogous
#151457 #371457 #571455
triadic
#371457 #573714 #145737
tetradic
#371457 #571514 #345714 #145557
square
#371457 #571514 #345714 #145557
split-complementary
#371457 #555714 #145715
monochromatic
#100619 #180925 #371457 #561F89 #762BBB

Accessibility & contrast

On white

15.00
#371457 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #371457
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371457#FFFFFF#000000##FFFFFF
##3714571.0015.001.4015.00
#FFFFFF15.001.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002659
Deuteranopia (green-blind)
#002756
Tritanopia (blue-blind)
#312434
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #371457;
/* rgb */ color: rgb(55, 20, 87);
/* oklch */ color: oklch(28.5% 0.115 303.7);
Tailwind
colors: {
  custom: {
    50: '#715587',
    500: '#371457',
    950: '#000000',
  },
}
SCSS
$custom: #371457;
$custom-light: #715587;
$custom-dark: #000000;
JSON
{
  "hex": "#371457",
  "rgb": {
    "r": 55,
    "g": 20,
    "b": 87
  },
  "hsl": {
    "h": 271.343,
    "s": 62.617,
    "l": 20.98
  },
  "oklch": {
    "l": 0.2854,
    "c": 0.11466,
    "h": 303.7
  },
  "luminance": 0.02001
}

Semantic roles & 50–950 ramp

primary
#371457
secondary
#618F38
accent
#E64290
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #371457

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

Preview Lab → · Contrast checker → · Palette generator →

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