#371653#371653

#371653 is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.5% C 0.107 H 305.4°. Best body text is #FFFFFF at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#371653
RGBrgb(55, 22, 83)
HSLhsl(272, 58%, 21%)
HSVhsv(272, 73%, 33%)
CMYKcmyk(33.7%, 73.5%, 0%, 67.5%)
CIE-LABlab(15.54, 29.16, -30.72)
CIE-LCHlch(15.54, 42.36, 313.51°)
OKLaboklab(28.47% 0.0619 -0.0872)
OKLCHoklch(28.47% 0.107 305.4)
XYZxyz(3.4234, 2.0106, 8.3897)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371653 #325316
analogous
#181653 #371653 #531650
triadic
#371653 #533716 #165337
tetradic
#371653 #531816 #325316 #165053
square
#371653 #531816 #325316 #165053
split-complementary
#371653 #505316 #165318
monochromatic
#100618 #170923 #371653 #572383 #7730B4

Accessibility & contrast

On white

14.98
#371653 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#371653 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371653
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371653#FFFFFF#000000##FFFFFF
##3716531.0014.981.4014.98
#FFFFFF14.981.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002655
Deuteranopia (green-blind)
#042752
Tritanopia (blue-blind)
#322432
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #371653;
/* rgb */ color: rgb(55, 22, 83);
/* oklch */ color: oklch(28.5% 0.107 305.4);
Tailwind
colors: {
  custom: {
    50: '#715684',
    500: '#371653',
    950: '#000000',
  },
}
SCSS
$custom: #371653;
$custom-light: #715684;
$custom-dark: #000000;
JSON
{
  "hex": "#371653",
  "rgb": {
    "r": 55,
    "g": 22,
    "b": 83
  },
  "hsl": {
    "h": 272.459,
    "s": 58.095,
    "l": 20.588
  },
  "oklch": {
    "l": 0.28472,
    "c": 0.10692,
    "h": 305.4
  },
  "luminance": 0.02011
}

Semantic roles & 50–950 ramp

primary
#371653
secondary
#5F8A3A
accent
#E1468E
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #371653

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

Preview Lab → · Contrast checker → · Palette generator →

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