#371650#371650

#371650 is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.2% C 0.103 H 307.1°. Best body text is #FFFFFF at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#371650
RGBrgb(55, 22, 80)
HSLhsl(274, 57%, 20%)
HSVhsv(274, 73%, 31%)
CMYKcmyk(31.2%, 72.5%, 0%, 68.6%)
CIE-LABlab(15.30, 28.35, -29.07)
CIE-LCHlch(15.30, 40.60, 314.29°)
OKLaboklab(28.23% 0.0623 -0.0823)
OKLCHoklch(28.23% 0.103 307.1)
XYZxyz(3.3101, 1.9653, 7.7928)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371650 #2F5016
analogous
#1A1650 #371650 #50164C
triadic
#371650 #503716 #165037
tetradic
#371650 #501A16 #2F5016 #164C50
square
#371650 #501A16 #2F5016 #164C50
split-complementary
#371650 #4C5016 #16501A
monochromatic
#110718 #160920 #371650 #582380 #7930B0

Accessibility & contrast

On white

15.08
#371650 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#371650 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371650
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371650#FFFFFF#000000##FFFFFF
##3716501.0015.081.3915.08
#FFFFFF15.081.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002552
Deuteranopia (green-blind)
#09274F
Tritanopia (blue-blind)
#332230
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #371650;
/* rgb */ color: rgb(55, 22, 80);
/* oklch */ color: oklch(28.2% 0.103 307.1);
Tailwind
colors: {
  custom: {
    50: '#705681',
    500: '#371650',
    950: '#000000',
  },
}
SCSS
$custom: #371650;
$custom-light: #705681;
$custom-dark: #000000;
JSON
{
  "hex": "#371650",
  "rgb": {
    "r": 55,
    "g": 22,
    "b": 80
  },
  "hsl": {
    "h": 274.138,
    "s": 56.863,
    "l": 20
  },
  "oklch": {
    "l": 0.28225,
    "c": 0.1032,
    "h": 307.1
  },
  "luminance": 0.01965
}

Semantic roles & 50–950 ramp

primary
#371650
secondary
#5C873A
accent
#E04889
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #371650

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

Preview Lab → · Contrast checker → · Palette generator →

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