#371381#371381

#371381 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.6% C 0.165 H 288.2°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#371381
RGBrgb(55, 19, 129)
HSLhsl(260, 74%, 29%)
HSVhsv(260, 85%, 51%)
CMYKcmyk(57.4%, 85.3%, 0%, 49.4%)
CIE-LABlab(19.48, 43.55, -54.40)
CIE-LCHlch(19.48, 69.68, 308.68°)
OKLaboklab(32.6% 0.0515 -0.1566)
OKLCHoklch(32.6% 0.165 288.2)
XYZxyz(5.7697, 2.8626, 21.0131)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371381 #5D8113
analogous
#132681 #371381 #6E1381
triadic
#371381 #813713 #138137
tetradic
#371381 #811326 #5D8113 #13816E
square
#371381 #811326 #5D8113 #13816E
split-complementary
#371381 #816E13 #268113
monochromatic
#0B041B #200B4C #371381 #4E1BB6 #682EE0

Accessibility & contrast

On white

13.35
#371381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#371381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371381
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371381#FFFFFF#000000##FFFFFF
##3713811.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #371381;
/* rgb */ color: rgb(55, 19, 129);
/* oklch */ color: oklch(32.6% 0.165 288.2);
Tailwind
colors: {
  custom: {
    50: '#7857a7',
    500: '#371381',
    950: '#000000',
  },
}
SCSS
$custom: #371381;
$custom-light: #7857a7;
$custom-dark: #000000;
JSON
{
  "hex": "#371381",
  "rgb": {
    "r": 55,
    "g": 19,
    "b": 129
  },
  "hsl": {
    "h": 259.636,
    "s": 74.324,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32595,
    "c": 0.16481,
    "h": 288.2
  },
  "luminance": 0.02863
}

Semantic roles & 50–950 ramp

primary
#371381
secondary
#8DB63A
accent
#F137B4
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0310
muted
#7C787F

Preview Lab

Preview with #371381

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

Preview Lab → · Contrast checker → · Palette generator →

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