#371380#371380

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

Color values

HEX#371380
RGBrgb(55, 19, 128)
HSLhsl(260, 74%, 29%)
HSVhsv(260, 85%, 50%)
CMYKcmyk(57%, 85.2%, 0%, 49.8%)
CIE-LABlab(19.38, 43.27, -53.94)
CIE-LCHlch(19.38, 69.15, 308.74°)
OKLaboklab(32.49% 0.0519 -0.1552)
OKLCHoklch(32.49% 0.164 288.5)
XYZxyz(5.7036, 2.8362, 20.6648)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371380 #5C8013
analogous
#132580 #371380 #6E1380
triadic
#371380 #803713 #138037
tetradic
#371380 #801325 #5C8013 #13806E
square
#371380 #801325 #5C8013 #13806E
split-complementary
#371380 #806E13 #258013
monochromatic
#0B041B #200B4B #371380 #4E1BB5 #682DE0

Accessibility & contrast

On white

13.40
#371380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #371380
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371380#FFFFFF#000000##FFFFFF
##3713801.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003183
Deuteranopia (green-blind)
#002C7E
Tritanopia (blue-blind)
#18344B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #371380;
/* rgb */ color: rgb(55, 19, 128);
/* oklch */ color: oklch(32.5% 0.164 288.5);
Tailwind
colors: {
  custom: {
    50: '#7857a6',
    500: '#371380',
    950: '#000000',
  },
}
SCSS
$custom: #371380;
$custom-light: #7857a6;
$custom-dark: #000000;
JSON
{
  "hex": "#371380",
  "rgb": {
    "r": 55,
    "g": 19,
    "b": 128
  },
  "hsl": {
    "h": 259.817,
    "s": 74.15,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32487,
    "c": 0.16367,
    "h": 288.5
  },
  "luminance": 0.02836
}

Semantic roles & 50–950 ramp

primary
#371380
secondary
#8CB539
accent
#F137B3
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A030F
muted
#7C787F

Preview Lab

Preview with #371380

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

Preview Lab → · Contrast checker → · Palette generator →

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