#371034#371034

#371034 is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.3% C 0.081 H 330.8°. Best body text is #FFFFFF at 16.33:1 contrast (WCAG AA passes).

Color values

HEX#371034
RGBrgb(55, 16, 52)
HSLhsl(305, 55%, 14%)
HSVhsv(305, 71%, 22%)
CMYKcmyk(0%, 70.9%, 5.5%, 78.4%)
CIE-LABlab(12.16, 24.91, -14.42)
CIE-LCHlch(12.16, 28.78, 329.93°)
OKLaboklab(25.33% 0.0708 -0.0396)
OKLCHoklch(25.33% 0.081 330.8)
XYZxyz(2.3807, 1.4309, 3.3989)
Luminance0.0143 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371034 #103713
analogous
#271037 #371034 #371021
triadic
#371034 #343710 #103437
tetradic
#371034 #372710 #103713 #102137
square
#371034 #372710 #103713 #102137
split-complementary
#371034 #213710 #103727
monochromatic
#180716 #180716 #371034 #661E61 #962C8E

Accessibility & contrast

On white

16.33
#371034 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#371034 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371034
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371034#FFFFFF#000000##FFFFFF
##3710341.0016.331.2916.33
#FFFFFF16.331.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1C35
Deuteranopia (green-blind)
#1B2233
Tritanopia (blue-blind)
#391420
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #371034;
/* rgb */ color: rgb(55, 16, 52);
/* oklch */ color: oklch(25.3% 0.081 330.8);
Tailwind
colors: {
  custom: {
    50: '#6f516b',
    500: '#371034',
    950: '#000000',
  },
}
SCSS
$custom: #371034;
$custom-light: #6f516b;
$custom-dark: #000000;
JSON
{
  "hex": "#371034",
  "rgb": {
    "r": 55,
    "g": 16,
    "b": 52
  },
  "hsl": {
    "h": 304.615,
    "s": 54.93,
    "l": 13.922
  },
  "oklch": {
    "l": 0.25326,
    "c": 0.08108,
    "h": 330.8
  },
  "luminance": 0.01431
}

Semantic roles & 50–950 ramp

primary
#371034
secondary
#327137
accent
#DE554A
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070206
muted
#7A787A

Preview Lab

Preview with #371034

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

Preview Lab → · Contrast checker → · Palette generator →

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