#371C70#371C70

#371C70 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.9% C 0.135 H 291.5°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#371C70
RGBrgb(55, 28, 112)
HSLhsl(259, 60%, 27%)
HSVhsv(259, 75%, 44%)
CMYKcmyk(50.9%, 75%, 0%, 56.1%)
CIE-LABlab(19.28, 34.22, -43.85)
CIE-LCHlch(19.28, 55.63, 307.97°)
OKLaboklab(31.93% 0.0497 -0.1258)
OKLCHoklch(31.93% 0.135 291.5)
XYZxyz(4.9146, 2.8124, 15.6100)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371C70 #55701C
analogous
#1C2B70 #371C70 #611C70
triadic
#371C70 #70371C #1C7037
tetradic
#371C70 #701C2B #55701C #1C7061
square
#371C70 #701C2B #55701C #1C7061
split-complementary
#371C70 #70611C #2B701C
monochromatic
#0C0618 #1F103F #371C70 #4F28A1 #6939CD

Accessibility & contrast

On white

13.44
#371C70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#371C70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371C70
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371C70#FFFFFF#000000##FFFFFF
##371C701.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003072
Deuteranopia (green-blind)
#002D6E
Tritanopia (blue-blind)
#253244
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #371c70;
/* rgb */ color: rgb(55, 28, 112);
/* oklch */ color: oklch(31.9% 0.135 291.5);
Tailwind
colors: {
  custom: {
    50: '#745b9a',
    500: '#371c70',
    950: '#000000',
  },
}
SCSS
$custom: #371c70;
$custom-light: #745b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#371c70",
  "rgb": {
    "r": 55,
    "g": 28,
    "b": 112
  },
  "hsl": {
    "h": 259.286,
    "s": 60,
    "l": 27.451
  },
  "oklch": {
    "l": 0.31926,
    "c": 0.13524,
    "h": 291.5
  },
  "luminance": 0.02813
}

Semantic roles & 50–950 ramp

primary
#371C70
secondary
#85A543
accent
#E345B0
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #371C70

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

Preview Lab → · Contrast checker → · Palette generator →

#371C70 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva