#371864#371864

#371864 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.2% C 0.125 H 296.8°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#371864
RGBrgb(55, 24, 100)
HSLhsl(264, 61%, 24%)
HSVhsv(264, 76%, 39%)
CMYKcmyk(45%, 76%, 0%, 60.8%)
CIE-LABlab(17.39, 32.86, -39.09)
CIE-LCHlch(17.39, 51.07, 310.05°)
OKLaboklab(30.25% 0.0565 -0.1118)
OKLCHoklch(30.25% 0.125 296.8)
XYZxyz(4.2018, 2.3855, 12.2932)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371864 #456418
analogous
#181F64 #371864 #5D1864
triadic
#371864 #643718 #186437
tetradic
#371864 #64181F #456418 #18645D
square
#371864 #64181F #456418 #18645D
split-complementary
#371864 #645D18 #1F6418
monochromatic
#0E0619 #1C0C33 #371864 #522495 #6D30C7

Accessibility & contrast

On white

14.22
#371864 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#371864 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371864
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371864#FFFFFF#000000##FFFFFF
##3718641.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B66
Deuteranopia (green-blind)
#002A62
Tritanopia (blue-blind)
#2B2B3C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #371864;
/* rgb */ color: rgb(55, 24, 100);
/* oklch */ color: oklch(30.2% 0.125 296.8);
Tailwind
colors: {
  custom: {
    50: '#735891',
    500: '#371864',
    950: '#000000',
  },
}
SCSS
$custom: #371864;
$custom-light: #735891;
$custom-dark: #000000;
JSON
{
  "hex": "#371864",
  "rgb": {
    "r": 55,
    "g": 24,
    "b": 100
  },
  "hsl": {
    "h": 264.474,
    "s": 61.29,
    "l": 24.314
  },
  "oklch": {
    "l": 0.30248,
    "c": 0.12525,
    "h": 296.8
  },
  "luminance": 0.02386
}

Semantic roles & 50–950 ramp

primary
#371864
secondary
#749A3E
accent
#E443A3
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #371864

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

Preview Lab → · Contrast checker → · Palette generator →

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