#371664#371664

#371664 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.0% C 0.128 H 297.3°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#371664
RGBrgb(55, 22, 100)
HSLhsl(265, 64%, 24%)
HSVhsv(265, 78%, 39%)
CMYKcmyk(45%, 78%, 0%, 60.8%)
CIE-LABlab(17.02, 33.92, -39.70)
CIE-LCHlch(17.02, 52.22, 310.51°)
OKLaboklab(29.98% 0.0586 -0.1136)
OKLCHoklch(29.98% 0.128 297.3)
XYZxyz(4.1621, 2.3061, 12.2799)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371664 #436416
analogous
#161C64 #371664 #5E1664
triadic
#371664 #643716 #166437
tetradic
#371664 #64161C #436416 #16645E
square
#371664 #64161C #436416 #16645E
split-complementary
#371664 #645E16 #1C6416
monochromatic
#0E0619 #1B0B32 #371664 #532196 #6E2CC8

Accessibility & contrast

On white

14.37
#371664 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#371664 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371664
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371664#FFFFFF#000000##FFFFFF
##3716641.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #371664;
/* rgb */ color: rgb(55, 22, 100);
/* oklch */ color: oklch(30.0% 0.128 297.3);
Tailwind
colors: {
  custom: {
    50: '#735791',
    500: '#371664',
    950: '#000000',
  },
}
SCSS
$custom: #371664;
$custom-light: #735791;
$custom-dark: #000000;
JSON
{
  "hex": "#371664",
  "rgb": {
    "r": 55,
    "g": 22,
    "b": 100
  },
  "hsl": {
    "h": 265.385,
    "s": 63.934,
    "l": 23.922
  },
  "oklch": {
    "l": 0.29983,
    "c": 0.12779,
    "h": 297.3
  },
  "luminance": 0.02306
}

Semantic roles & 50–950 ramp

primary
#371664
secondary
#729B3B
accent
#E741A1
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #371664

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

Preview Lab → · Contrast checker → · Palette generator →

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