#371476#371476

#371476 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.5% C 0.151 H 291.2°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#371476
RGBrgb(55, 20, 118)
HSLhsl(261, 71%, 27%)
HSVhsv(261, 83%, 46%)
CMYKcmyk(53.4%, 83.1%, 0%, 53.7%)
CIE-LABlab(18.45, 40.01, -49.07)
CIE-LCHlch(18.45, 63.32, 309.19°)
OKLaboklab(31.53% 0.0548 -0.141)
OKLCHoklch(31.53% 0.151 291.2)
XYZxyz(5.0948, 2.6203, 17.3734)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371476 #537614
analogous
#142276 #371476 #681476
triadic
#371476 #763714 #147637
tetradic
#371476 #761422 #537614 #147668
square
#371476 #761422 #537614 #147668
split-complementary
#371476 #766814 #227614
monochromatic
#0C041A #1F0B42 #371476 #4F1DAA #692ADB

Accessibility & contrast

On white

13.78
#371476 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#371476 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371476
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371476#FFFFFF#000000##FFFFFF
##3714761.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E79
Deuteranopia (green-blind)
#002B74
Tritanopia (blue-blind)
#213145
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #371476;
/* rgb */ color: rgb(55, 20, 118);
/* oklch */ color: oklch(31.5% 0.151 291.2);
Tailwind
colors: {
  custom: {
    50: '#76579e',
    500: '#371476',
    950: '#000000',
  },
}
SCSS
$custom: #371476;
$custom-light: #76579e;
$custom-dark: #000000;
JSON
{
  "hex": "#371476",
  "rgb": {
    "r": 55,
    "g": 20,
    "b": 118
  },
  "hsl": {
    "h": 261.429,
    "s": 71.014,
    "l": 27.059
  },
  "oklch": {
    "l": 0.3153,
    "c": 0.1513,
    "h": 291.2
  },
  "luminance": 0.02621
}

Semantic roles & 50–950 ramp

primary
#371476
secondary
#83AC3A
accent
#EE3AAE
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #371476

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

Preview Lab → · Contrast checker → · Palette generator →

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