#371D70#371D70

#371D70 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.1% C 0.134 H 291.3°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#371D70
RGBrgb(55, 29, 112)
HSLhsl(259, 59%, 28%)
HSVhsv(259, 74%, 44%)
CMYKcmyk(50.9%, 74.1%, 0%, 56.1%)
CIE-LABlab(19.48, 33.66, -43.53)
CIE-LCHlch(19.48, 55.02, 307.72°)
OKLaboklab(32.07% 0.0487 -0.1248)
OKLCHoklch(32.07% 0.134 291.3)
XYZxyz(4.9387, 2.8606, 15.6180)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371D70 #56701D
analogous
#1D2D70 #371D70 #601D70
triadic
#371D70 #70371D #1D7037
tetradic
#371D70 #701D2D #56701D #1D7060
square
#371D70 #701D2D #56701D #1D7060
split-complementary
#371D70 #70601D #2D701D
monochromatic
#0C0618 #1F103F #371D70 #4F2AA1 #693BCC

Accessibility & contrast

On white

13.36
#371D70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#371D70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371D70
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371D70#FFFFFF#000000##FFFFFF
##371D701.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #371d70;
/* rgb */ color: rgb(55, 29, 112);
/* oklch */ color: oklch(32.1% 0.134 291.3);
Tailwind
colors: {
  custom: {
    50: '#745b9a',
    500: '#371d70',
    950: '#000000',
  },
}
SCSS
$custom: #371d70;
$custom-light: #745b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#371d70",
  "rgb": {
    "r": 55,
    "g": 29,
    "b": 112
  },
  "hsl": {
    "h": 258.795,
    "s": 58.865,
    "l": 27.647
  },
  "oklch": {
    "l": 0.32068,
    "c": 0.13399,
    "h": 291.3
  },
  "luminance": 0.02861
}

Semantic roles & 50–950 ramp

primary
#371D70
secondary
#86A444
accent
#E246B1
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #371D70

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

Preview Lab → · Contrast checker → · Palette generator →

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