#371472#371472

#371472 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.1% C 0.147 H 292.5°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#371472
RGBrgb(55, 20, 114)
HSLhsl(262, 70%, 26%)
HSVhsv(262, 82%, 45%)
CMYKcmyk(51.8%, 82.5%, 0%, 55.3%)
CIE-LABlab(18.04, 38.88, -47.17)
CIE-LCHlch(18.04, 61.13, 309.49°)
OKLaboklab(31.12% 0.0562 -0.1355)
OKLCHoklch(31.12% 0.147 292.5)
XYZxyz(4.8621, 2.5273, 16.1480)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371472 #4F7214
analogous
#142072 #371472 #661472
triadic
#371472 #723714 #147237
tetradic
#371472 #721420 #4F7214 #147266
square
#371472 #721420 #4F7214 #147266
split-complementary
#371472 #726614 #207214
monochromatic
#0D051A #1E0B3E #371472 #501DA6 #6927D9

Accessibility & contrast

On white

13.95
#371472 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#371472 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371472
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371472#FFFFFF#000000##FFFFFF
##3714721.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D75
Deuteranopia (green-blind)
#002A70
Tritanopia (blue-blind)
#242F43
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #371472;
/* rgb */ color: rgb(55, 20, 114);
/* oklch */ color: oklch(31.1% 0.147 292.5);
Tailwind
colors: {
  custom: {
    50: '#75579b',
    500: '#371472',
    950: '#000000',
  },
}
SCSS
$custom: #371472;
$custom-light: #75579b;
$custom-dark: #000000;
JSON
{
  "hex": "#371472",
  "rgb": {
    "r": 55,
    "g": 20,
    "b": 114
  },
  "hsl": {
    "h": 262.34,
    "s": 70.149,
    "l": 26.275
  },
  "oklch": {
    "l": 0.31118,
    "c": 0.14666,
    "h": 292.5
  },
  "luminance": 0.02527
}

Semantic roles & 50–950 ramp

primary
#371472
secondary
#7FA839
accent
#ED3BAB
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #371472

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

Preview Lab → · Contrast checker → · Palette generator →

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