#371481#371481

#371481 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.7% C 0.164 H 288.1°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#371481
RGBrgb(55, 20, 129)
HSLhsl(259, 73%, 29%)
HSVhsv(259, 84%, 51%)
CMYKcmyk(57.4%, 84.5%, 0%, 49.4%)
CIE-LABlab(19.63, 43.14, -54.16)
CIE-LCHlch(19.63, 69.24, 308.53°)
OKLaboklab(32.69% 0.0509 -0.1559)
OKLCHoklch(32.69% 0.164 288.1)
XYZxyz(5.7870, 2.8972, 21.0189)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371481 #5E8114
analogous
#142881 #371481 #6E1481
triadic
#371481 #813714 #148137
tetradic
#371481 #811428 #5E8114 #14816E
square
#371481 #811428 #5E8114 #14816E
split-complementary
#371481 #816E14 #288114
monochromatic
#0B041A #200C4C #371481 #4E1CB6 #6830DF

Accessibility & contrast

On white

13.29
#371481 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#371481 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371481
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371481#FFFFFF#000000##FFFFFF
##3714811.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003284
Deuteranopia (green-blind)
#002D7F
Tritanopia (blue-blind)
#16354C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #371481;
/* rgb */ color: rgb(55, 20, 129);
/* oklch */ color: oklch(32.7% 0.164 288.1);
Tailwind
colors: {
  custom: {
    50: '#7858a7',
    500: '#371481',
    950: '#000000',
  },
}
SCSS
$custom: #371481;
$custom-light: #7858a7;
$custom-dark: #000000;
JSON
{
  "hex": "#371481",
  "rgb": {
    "r": 55,
    "g": 20,
    "b": 129
  },
  "hsl": {
    "h": 259.266,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32693,
    "c": 0.16398,
    "h": 288.1
  },
  "luminance": 0.02898
}

Semantic roles & 50–950 ramp

primary
#371481
secondary
#8EB63B
accent
#F038B5
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0310
muted
#7C787F

Preview Lab

Preview with #371481

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

Preview Lab → · Contrast checker → · Palette generator →

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