#371652#371652

#371652 is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.4% C 0.106 H 305.9°. Best body text is #FFFFFF at 15.01:1 contrast (WCAG AA passes).

Color values

HEX#371652
RGBrgb(55, 22, 82)
HSLhsl(273, 58%, 20%)
HSVhsv(273, 73%, 32%)
CMYKcmyk(32.9%, 73.2%, 0%, 67.8%)
CIE-LABlab(15.46, 28.89, -30.17)
CIE-LCHlch(15.46, 41.77, 313.76°)
OKLaboklab(28.39% 0.062 -0.0856)
OKLCHoklch(28.39% 0.106 305.9)
XYZxyz(3.3851, 1.9953, 8.1878)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371652 #315216
analogous
#191652 #371652 #52164F
triadic
#371652 #523716 #165237
tetradic
#371652 #521916 #315216 #164F52
square
#371652 #521916 #315216 #164F52
split-complementary
#371652 #4F5216 #165219
monochromatic
#100618 #170922 #371652 #572382 #7830B3

Accessibility & contrast

On white

15.01
#371652 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #371652
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371652#FFFFFF#000000##FFFFFF
##3716521.0015.011.4015.01
#FFFFFF15.011.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002654
Deuteranopia (green-blind)
#062751
Tritanopia (blue-blind)
#322332
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #371652;
/* rgb */ color: rgb(55, 22, 82);
/* oklch */ color: oklch(28.4% 0.106 305.9);
Tailwind
colors: {
  custom: {
    50: '#715683',
    500: '#371652',
    950: '#000000',
  },
}
SCSS
$custom: #371652;
$custom-light: #715683;
$custom-dark: #000000;
JSON
{
  "hex": "#371652",
  "rgb": {
    "r": 55,
    "g": 22,
    "b": 82
  },
  "hsl": {
    "h": 273,
    "s": 57.692,
    "l": 20.392
  },
  "oklch": {
    "l": 0.28389,
    "c": 0.10568,
    "h": 305.9
  },
  "luminance": 0.01995
}

Semantic roles & 50–950 ramp

primary
#371652
secondary
#5E893A
accent
#E1478C
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08030A
muted
#7B787C

Preview Lab

Preview with #371652

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

Preview Lab → · Contrast checker → · Palette generator →

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