#371071#371071

#371071 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.6% C 0.149 H 293.5°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#371071
RGBrgb(55, 16, 113)
HSLhsl(264, 75%, 25%)
HSVhsv(264, 86%, 44%)
CMYKcmyk(51.3%, 85.8%, 0%, 55.7%)
CIE-LABlab(17.34, 40.33, -47.67)
CIE-LCHlch(17.34, 62.44, 310.23°)
OKLaboklab(30.6% 0.0595 -0.1369)
OKLCHoklch(30.6% 0.149 293.5)
XYZxyz(4.7406, 2.3749, 15.8282)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371071 #4A7110
analogous
#101971 #371071 #681071
triadic
#371071 #713710 #107137
tetradic
#371071 #711019 #4A7110 #107168
square
#371071 #711019 #4A7110 #107168
split-complementary
#371071 #716810 #197110
monochromatic
#0D041B #1D083B #371071 #5118A7 #6B1FDC

Accessibility & contrast

On white

14.24
#371071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#371071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371071
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371071#FFFFFF#000000##FFFFFF
##3710711.0014.241.4814.24
#FFFFFF14.241.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C74
Deuteranopia (green-blind)
#00296F
Tritanopia (blue-blind)
#242D42
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #371071;
/* rgb */ color: rgb(55, 16, 113);
/* oklch */ color: oklch(30.6% 0.149 293.5);
Tailwind
colors: {
  custom: {
    50: '#75559b',
    500: '#371071',
    950: '#000000',
  },
}
SCSS
$custom: #371071;
$custom-light: #75559b;
$custom-dark: #000000;
JSON
{
  "hex": "#371071",
  "rgb": {
    "r": 55,
    "g": 16,
    "b": 113
  },
  "hsl": {
    "h": 264.124,
    "s": 75.194,
    "l": 25.294
  },
  "oklch": {
    "l": 0.30603,
    "c": 0.14926,
    "h": 293.5
  },
  "luminance": 0.02375
}

Semantic roles & 50–950 ramp

primary
#371071
secondary
#7AA934
accent
#F236A6
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #371071

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

Preview Lab → · Contrast checker → · Palette generator →

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