#371659#371659

#371659 is a dark, moderate violet. Relative luminance 0.021; OKLCH L 29.0% C 0.114 H 302.2°. Best body text is #FFFFFF at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#371659
RGBrgb(55, 22, 89)
HSLhsl(270, 60%, 22%)
HSVhsv(270, 75%, 35%)
CMYKcmyk(38.2%, 75.3%, 0%, 65.1%)
CIE-LABlab(16.04, 30.82, -33.97)
CIE-LCHlch(16.04, 45.86, 312.22°)
OKLaboklab(28.99% 0.061 -0.0967)
OKLCHoklch(28.99% 0.114 302.2)
XYZxyz(3.6652, 2.1073, 9.6629)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371659 #385916
analogous
#161759 #371659 #591659
triadic
#371659 #593716 #165937
tetradic
#371659 #591617 #385916 #165959
square
#371659 #591617 #385916 #165959
split-complementary
#371659 #595916 #175916
monochromatic
#0F0619 #190A28 #371659 #55228A #742EBB

Accessibility & contrast

On white

14.77
#371659 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#371659 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371659
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371659#FFFFFF#000000##FFFFFF
##3716591.0014.771.4214.77
#FFFFFF14.771.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #371659;
/* rgb */ color: rgb(55, 22, 89);
/* oklch */ color: oklch(29.0% 0.114 302.2);
Tailwind
colors: {
  custom: {
    50: '#715688',
    500: '#371659',
    950: '#000000',
  },
}
SCSS
$custom: #371659;
$custom-light: #715688;
$custom-dark: #000000;
JSON
{
  "hex": "#371659",
  "rgb": {
    "r": 55,
    "g": 22,
    "b": 89
  },
  "hsl": {
    "h": 269.552,
    "s": 60.36,
    "l": 21.765
  },
  "oklch": {
    "l": 0.28985,
    "c": 0.11432,
    "h": 302.2
  },
  "luminance": 0.02107
}

Semantic roles & 50–950 ramp

primary
#371659
secondary
#66903B
accent
#E44495
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030B
muted
#7B787C

Preview Lab

Preview with #371659

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

Preview Lab → · Contrast checker → · Palette generator →

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