#371459#371459

#371459 is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.7% C 0.117 H 302.7°. Best body text is #FFFFFF at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#371459
RGBrgb(55, 20, 89)
HSLhsl(270, 63%, 21%)
HSVhsv(270, 78%, 35%)
CMYKcmyk(38.2%, 77.5%, 0%, 65.1%)
CIE-LABlab(15.66, 31.88, -34.58)
CIE-LCHlch(15.66, 47.03, 312.67°)
OKLaboklab(28.72% 0.0633 -0.0985)
OKLCHoklch(28.72% 0.117 302.7)
XYZxyz(3.6285, 2.0338, 9.6507)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371459 #365914
analogous
#151459 #371459 #591459
triadic
#371459 #593714 #145937
tetradic
#371459 #591514 #365914 #145959
square
#371459 #591514 #365914 #145959
split-complementary
#371459 #595914 #145915
monochromatic
#0F0619 #180927 #371459 #561F8B #752ABD

Accessibility & contrast

On white

14.93
#371459 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#371459 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371459
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371459#FFFFFF#000000##FFFFFF
##3714591.0014.931.4114.93
#FFFFFF14.931.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265B
Deuteranopia (green-blind)
#002758
Tritanopia (blue-blind)
#302535
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #371459;
/* rgb */ color: rgb(55, 20, 89);
/* oklch */ color: oklch(28.7% 0.117 302.7);
Tailwind
colors: {
  custom: {
    50: '#725588',
    500: '#371459',
    950: '#000000',
  },
}
SCSS
$custom: #371459;
$custom-light: #725588;
$custom-dark: #000000;
JSON
{
  "hex": "#371459",
  "rgb": {
    "r": 55,
    "g": 20,
    "b": 89
  },
  "hsl": {
    "h": 270.435,
    "s": 63.303,
    "l": 21.373
  },
  "oklch": {
    "l": 0.28717,
    "c": 0.11707,
    "h": 302.7
  },
  "luminance": 0.02034
}

Semantic roles & 50–950 ramp

primary
#371459
secondary
#649138
accent
#E64193
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030B
muted
#7B787C

Preview Lab

Preview with #371459

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

Preview Lab → · Contrast checker → · Palette generator →

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