#371759#371759

#371759 is a dark, moderate violet. Relative luminance 0.021; OKLCH L 29.1% C 0.113 H 302.0°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#371759
RGBrgb(55, 23, 89)
HSLhsl(269, 59%, 22%)
HSVhsv(269, 74%, 35%)
CMYKcmyk(38.2%, 74.2%, 0%, 65.1%)
CIE-LABlab(16.24, 30.27, -33.65)
CIE-LCHlch(16.24, 45.26, 311.97°)
OKLaboklab(29.13% 0.0598 -0.0958)
OKLCHoklch(29.13% 0.113 302)
XYZxyz(3.6847, 2.1463, 9.6694)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371759 #395917
analogous
#171859 #371759 #581759
triadic
#371759 #593717 #175937
tetradic
#371759 #591718 #395917 #175958
square
#371759 #591718 #395917 #175958
split-complementary
#371759 #595817 #185917
monochromatic
#0F0618 #190A28 #371759 #55248A #7330BA

Accessibility & contrast

On white

14.69
#371759 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#371759 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371759
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371759#FFFFFF#000000##FFFFFF
##3717591.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285B
Deuteranopia (green-blind)
#002858
Tritanopia (blue-blind)
#302636
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #371759;
/* rgb */ color: rgb(55, 23, 89);
/* oklch */ color: oklch(29.1% 0.113 302.0);
Tailwind
colors: {
  custom: {
    50: '#715788',
    500: '#371759',
    950: '#000000',
  },
}
SCSS
$custom: #371759;
$custom-light: #715788;
$custom-dark: #000000;
JSON
{
  "hex": "#371759",
  "rgb": {
    "r": 55,
    "g": 23,
    "b": 89
  },
  "hsl": {
    "h": 269.091,
    "s": 58.929,
    "l": 21.961
  },
  "oklch": {
    "l": 0.29125,
    "c": 0.1129,
    "h": 302
  },
  "luminance": 0.02146
}

Semantic roles & 50–950 ramp

primary
#371759
secondary
#67903C
accent
#E24696
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030B
muted
#7B787C

Preview Lab

Preview with #371759

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

Preview Lab → · Contrast checker → · Palette generator →

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