#371083#371083

#371083 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.5% C 0.169 H 288.0°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#371083
RGBrgb(55, 16, 131)
HSLhsl(260, 78%, 29%)
HSVhsv(260, 88%, 51%)
CMYKcmyk(58%, 87.8%, 0%, 48.6%)
CIE-LABlab(19.31, 45.27, -55.95)
CIE-LCHlch(19.31, 71.97, 308.98°)
OKLaboklab(32.54% 0.0524 -0.161)
OKLCHoklch(32.54% 0.169 288)
XYZxyz(5.8564, 2.8212, 21.7043)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371083 #5C8310
analogous
#102383 #371083 #711083
triadic
#371083 #833710 #108337
tetradic
#371083 #831023 #5C8310 #108371
square
#371083 #831023 #5C8310 #108371
split-complementary
#371083 #837110 #238310
monochromatic
#0B031B #20094C #371083 #4E17BA #6829E5

Accessibility & contrast

On white

13.42
#371083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#371083 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371083
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371083#FFFFFF#000000##FFFFFF
##3710831.0013.421.5613.42
#FFFFFF13.421.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003186
Deuteranopia (green-blind)
#002C81
Tritanopia (blue-blind)
#14354C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #371083;
/* rgb */ color: rgb(55, 16, 131);
/* oklch */ color: oklch(32.5% 0.169 288.0);
Tailwind
colors: {
  custom: {
    50: '#7856a8',
    500: '#371083',
    950: '#000000',
  },
}
SCSS
$custom: #371083;
$custom-light: #7856a8;
$custom-dark: #000000;
JSON
{
  "hex": "#371083",
  "rgb": {
    "r": 55,
    "g": 16,
    "b": 131
  },
  "hsl": {
    "h": 260.348,
    "s": 78.231,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32543,
    "c": 0.16935,
    "h": 288
  },
  "luminance": 0.02822
}

Semantic roles & 50–950 ramp

primary
#371083
secondary
#8CB936
accent
#F533B3
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0310
muted
#7C787F

Preview Lab

Preview with #371083

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

Preview Lab → · Contrast checker → · Palette generator →

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