#371F70#371F70

#371F70 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.4% C 0.131 H 290.8°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#371F70
RGBrgb(55, 31, 112)
HSLhsl(258, 57%, 28%)
HSVhsv(258, 72%, 44%)
CMYKcmyk(50.9%, 72.3%, 0%, 56.1%)
CIE-LABlab(19.89, 32.51, -42.85)
CIE-LCHlch(19.89, 53.79, 307.19°)
OKLaboklab(32.36% 0.0466 -0.1229)
OKLCHoklch(32.36% 0.131 290.8)
XYZxyz(4.9893, 2.9619, 15.6349)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371F70 #58701F
analogous
#1F2F70 #371F70 #5F1F70
triadic
#371F70 #70371F #1F7037
tetradic
#371F70 #701F2F #58701F #1F705F
square
#371F70 #701F2F #58701F #1F705F
split-complementary
#371F70 #705F1F #2F701F
monochromatic
#0C0718 #1F1240 #371F70 #4F2CA0 #683FCA

Accessibility & contrast

On white

13.19
#371F70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#371F70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371F70
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371F70#FFFFFF#000000##FFFFFF
##371F701.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003172
Deuteranopia (green-blind)
#002E6E
Tritanopia (blue-blind)
#243345
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #371f70;
/* rgb */ color: rgb(55, 31, 112);
/* oklch */ color: oklch(32.4% 0.131 290.8);
Tailwind
colors: {
  custom: {
    50: '#745d9a',
    500: '#371f70',
    950: '#000000',
  },
}
SCSS
$custom: #371f70;
$custom-light: #745d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#371f70",
  "rgb": {
    "r": 55,
    "g": 31,
    "b": 112
  },
  "hsl": {
    "h": 257.778,
    "s": 56.643,
    "l": 28.039
  },
  "oklch": {
    "l": 0.32363,
    "c": 0.13141,
    "h": 290.8
  },
  "luminance": 0.02962
}

Semantic roles & 50–950 ramp

primary
#371F70
secondary
#88A447
accent
#E048B3
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #371F70

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

Preview Lab → · Contrast checker → · Palette generator →

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