#371764#371764

#371764 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.1% C 0.127 H 297.1°. Best body text is #FFFFFF at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#371764
RGBrgb(55, 23, 100)
HSLhsl(265, 63%, 24%)
HSVhsv(265, 77%, 39%)
CMYKcmyk(45%, 77%, 0%, 60.8%)
CIE-LABlab(17.20, 33.40, -39.40)
CIE-LCHlch(17.20, 51.65, 310.29°)
OKLaboklab(30.11% 0.0576 -0.1127)
OKLCHoklch(30.11% 0.127 297.1)
XYZxyz(4.1816, 2.3450, 12.2864)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371764 #446417
analogous
#171E64 #371764 #5E1764
triadic
#371764 #643717 #176437
tetradic
#371764 #64171E #446417 #17645E
square
#371764 #64171E #446417 #17645E
split-complementary
#371764 #645E17 #1E6417
monochromatic
#0E0619 #1C0C32 #371764 #522296 #6E2EC8

Accessibility & contrast

On white

14.30
#371764 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#371764 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371764
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371764#FFFFFF#000000##FFFFFF
##3717641.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #371764;
/* rgb */ color: rgb(55, 23, 100);
/* oklch */ color: oklch(30.1% 0.127 297.1);
Tailwind
colors: {
  custom: {
    50: '#735791',
    500: '#371764',
    950: '#000000',
  },
}
SCSS
$custom: #371764;
$custom-light: #735791;
$custom-dark: #000000;
JSON
{
  "hex": "#371764",
  "rgb": {
    "r": 55,
    "g": 23,
    "b": 100
  },
  "hsl": {
    "h": 264.935,
    "s": 62.602,
    "l": 24.118
  },
  "oklch": {
    "l": 0.30114,
    "c": 0.12653,
    "h": 297.1
  },
  "luminance": 0.02345
}

Semantic roles & 50–950 ramp

primary
#371764
secondary
#739A3C
accent
#E642A2
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #371764

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

Preview Lab → · Contrast checker → · Palette generator →

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