#371959#371959

#371959 is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.4% C 0.110 H 301.4°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#371959
RGBrgb(55, 25, 89)
HSLhsl(268, 56%, 22%)
HSVhsv(268, 72%, 35%)
CMYKcmyk(38.2%, 71.9%, 0%, 65.1%)
CIE-LABlab(16.64, 29.14, -32.99)
CIE-LCHlch(16.64, 44.02, 311.46°)
OKLaboklab(29.42% 0.0573 -0.0938)
OKLCHoklch(29.42% 0.11 301.4)
XYZxyz(3.7259, 2.2287, 9.6832)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371959 #3B5919
analogous
#191B59 #371959 #571959
triadic
#371959 #593719 #195937
tetradic
#371959 #59191B #3B5919 #195957
square
#371959 #59191B #3B5919 #195957
split-complementary
#371959 #595719 #1B5919
monochromatic
#0F0718 #190C29 #371959 #552689 #7234B9

Accessibility & contrast

On white

14.52
#371959 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#371959 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371959
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371959#FFFFFF#000000##FFFFFF
##3719591.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295B
Deuteranopia (green-blind)
#002958
Tritanopia (blue-blind)
#302836
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #371959;
/* rgb */ color: rgb(55, 25, 89);
/* oklch */ color: oklch(29.4% 0.110 301.4);
Tailwind
colors: {
  custom: {
    50: '#715888',
    500: '#371959',
    950: '#000000',
  },
}
SCSS
$custom: #371959;
$custom-light: #715888;
$custom-dark: #000000;
JSON
{
  "hex": "#371959",
  "rgb": {
    "r": 55,
    "g": 25,
    "b": 89
  },
  "hsl": {
    "h": 268.125,
    "s": 56.14,
    "l": 22.353
  },
  "oklch": {
    "l": 0.29417,
    "c": 0.10997,
    "h": 301.4
  },
  "luminance": 0.02229
}

Semantic roles & 50–950 ramp

primary
#371959
secondary
#698F3E
accent
#DF4899
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030B
muted
#7B787C

Preview Lab

Preview with #371959

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

Preview Lab → · Contrast checker → · Palette generator →

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