#371679#371679

#371679 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.1% C 0.153 H 290.0°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#371679
RGBrgb(55, 22, 121)
HSLhsl(260, 69%, 28%)
HSVhsv(260, 82%, 47%)
CMYKcmyk(54.5%, 81.8%, 0%, 52.5%)
CIE-LABlab(19.08, 39.95, -49.96)
CIE-LCHlch(19.08, 63.98, 308.65°)
OKLaboklab(32.06% 0.0523 -0.1436)
OKLCHoklch(32.06% 0.153 290)
XYZxyz(5.3126, 2.7663, 18.3395)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371679 #587916
analogous
#162679 #371679 #681679
triadic
#371679 #793716 #167937
tetradic
#371679 #791626 #587916 #167968
square
#371679 #791626 #587916 #167968
split-complementary
#371679 #796816 #267916
monochromatic
#0C051A #1F0D45 #371679 #4F1FAD #6830D9

Accessibility & contrast

On white

13.52
#371679 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#371679 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371679
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371679#FFFFFF#000000##FFFFFF
##3716791.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307C
Deuteranopia (green-blind)
#002C77
Tritanopia (blue-blind)
#1E3347
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #371679;
/* rgb */ color: rgb(55, 22, 121);
/* oklch */ color: oklch(32.1% 0.153 290.0);
Tailwind
colors: {
  custom: {
    50: '#7658a1',
    500: '#371679',
    950: '#000000',
  },
}
SCSS
$custom: #371679;
$custom-light: #7658a1;
$custom-dark: #000000;
JSON
{
  "hex": "#371679",
  "rgb": {
    "r": 55,
    "g": 22,
    "b": 121
  },
  "hsl": {
    "h": 260,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.3206,
    "c": 0.15288,
    "h": 290
  },
  "luminance": 0.02767
}

Semantic roles & 50–950 ramp

primary
#371679
secondary
#88AE3D
accent
#EC3CB1
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#09030F
muted
#7B787F

Preview Lab

Preview with #371679

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

Preview Lab → · Contrast checker → · Palette generator →

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