#371470#371470

#371470 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.9% C 0.144 H 293.2°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#371470
RGBrgb(55, 20, 112)
HSLhsl(263, 70%, 26%)
HSVhsv(263, 82%, 44%)
CMYKcmyk(50.9%, 82.1%, 0%, 56.1%)
CIE-LABlab(17.84, 38.31, -46.21)
CIE-LCHlch(17.84, 60.03, 309.66°)
OKLaboklab(30.92% 0.0569 -0.1326)
OKLCHoklch(30.92% 0.144 293.2)
XYZxyz(4.7495, 2.4822, 15.5550)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371470 #4D7014
analogous
#141F70 #371470 #651470
triadic
#371470 #703714 #147037
tetradic
#371470 #70141F #4D7014 #147065
square
#371470 #70141F #4D7014 #147065
split-complementary
#371470 #706514 #1F7014
monochromatic
#0D051A #1D0B3C #371470 #501DA4 #6A27D8

Accessibility & contrast

On white

14.03
#371470 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#371470 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371470
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371470#FFFFFF#000000##FFFFFF
##3714701.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D73
Deuteranopia (green-blind)
#002A6E
Tritanopia (blue-blind)
#252E42
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #371470;
/* rgb */ color: rgb(55, 20, 112);
/* oklch */ color: oklch(30.9% 0.144 293.2);
Tailwind
colors: {
  custom: {
    50: '#75569a',
    500: '#371470',
    950: '#000000',
  },
}
SCSS
$custom: #371470;
$custom-light: #75569a;
$custom-dark: #000000;
JSON
{
  "hex": "#371470",
  "rgb": {
    "r": 55,
    "g": 20,
    "b": 112
  },
  "hsl": {
    "h": 262.826,
    "s": 69.697,
    "l": 25.882
  },
  "oklch": {
    "l": 0.30915,
    "c": 0.14432,
    "h": 293.2
  },
  "luminance": 0.02482
}

Semantic roles & 50–950 ramp

primary
#371470
secondary
#7DA639
accent
#ED3BA9
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #371470

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

Preview Lab → · Contrast checker → · Palette generator →

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