#371464#371464

#371464 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.7% C 0.130 H 297.7°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#371464
RGBrgb(55, 20, 100)
HSLhsl(266, 67%, 24%)
HSVhsv(266, 80%, 39%)
CMYKcmyk(45%, 80%, 0%, 60.8%)
CIE-LABlab(16.66, 34.93, -40.28)
CIE-LCHlch(16.66, 53.31, 310.93°)
OKLaboklab(29.73% 0.0606 -0.1152)
OKLCHoklch(29.73% 0.13 297.7)
XYZxyz(4.1254, 2.2326, 12.2677)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371464 #416414
analogous
#141964 #371464 #5F1464
triadic
#371464 #643714 #146437
tetradic
#371464 #641419 #416414 #14645F
square
#371464 #641419 #416414 #14645F
split-complementary
#371464 #645F14 #196414
monochromatic
#0E051A #1B0A31 #371464 #531E97 #6F28CA

Accessibility & contrast

On white

14.52
#371464 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#371464 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371464
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371464#FFFFFF#000000##FFFFFF
##3714641.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002966
Deuteranopia (green-blind)
#002862
Tritanopia (blue-blind)
#2B293B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #371464;
/* rgb */ color: rgb(55, 20, 100);
/* oklch */ color: oklch(29.7% 0.130 297.7);
Tailwind
colors: {
  custom: {
    50: '#735691',
    500: '#371464',
    950: '#000000',
  },
}
SCSS
$custom: #371464;
$custom-light: #735691;
$custom-dark: #000000;
JSON
{
  "hex": "#371464",
  "rgb": {
    "r": 55,
    "g": 20,
    "b": 100
  },
  "hsl": {
    "h": 266.25,
    "s": 66.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.29733,
    "c": 0.13019,
    "h": 297.7
  },
  "luminance": 0.02233
}

Semantic roles & 50–950 ramp

primary
#371464
secondary
#709B38
accent
#EA3E9F
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #371464

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

Preview Lab → · Contrast checker → · Palette generator →

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