#371668#371668

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

Color values

HEX#371668
RGBrgb(55, 22, 104)
HSLhsl(264, 65%, 25%)
HSVhsv(264, 79%, 41%)
CMYKcmyk(47.1%, 78.8%, 0%, 59.2%)
CIE-LABlab(17.39, 35.06, -41.72)
CIE-LCHlch(17.39, 54.50, 310.04°)
OKLaboklab(30.36% 0.0575 -0.1195)
OKLCHoklch(30.36% 0.133 295.7)
XYZxyz(4.3605, 2.3854, 13.3247)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371668 #476816
analogous
#161E68 #371668 #601668
triadic
#371668 #683716 #166837
tetradic
#371668 #68161E #476816 #166860
square
#371668 #68161E #476816 #166860
split-complementary
#371668 #686016 #1E6816
monochromatic
#0D0519 #1C0B35 #371668 #52219B #6C2BCD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##371668#FFFFFF#000000##FFFFFF
##3716681.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)
#002B6A
Deuteranopia (green-blind)
#002966
Tritanopia (blue-blind)
#292C3E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #371668;
/* rgb */ color: rgb(55, 22, 104);
/* oklch */ color: oklch(30.4% 0.133 295.7);
Tailwind
colors: {
  custom: {
    50: '#735794',
    500: '#371668',
    950: '#000000',
  },
}
SCSS
$custom: #371668;
$custom-light: #735794;
$custom-dark: #000000;
JSON
{
  "hex": "#371668",
  "rgb": {
    "r": 55,
    "g": 22,
    "b": 104
  },
  "hsl": {
    "h": 264.146,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.30363,
    "c": 0.13263,
    "h": 295.7
  },
  "luminance": 0.02386
}

Semantic roles & 50–950 ramp

primary
#371668
secondary
#779F3B
accent
#E840A4
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #371668

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

Preview Lab → · Contrast checker → · Palette generator →

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