#371C64#371C64

#371C64 is a dark, moderate violet. Relative luminance 0.026; OKLCH L 30.8% C 0.120 H 295.7°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#371C64
RGBrgb(55, 28, 100)
HSLhsl(263, 56%, 25%)
HSVhsv(263, 72%, 39%)
CMYKcmyk(45%, 72%, 0%, 60.8%)
CIE-LABlab(18.20, 30.62, -37.78)
CIE-LCHlch(18.20, 48.62, 309.02°)
OKLaboklab(30.82% 0.0521 -0.1079)
OKLCHoklch(30.82% 0.12 295.7)
XYZxyz(4.2904, 2.5627, 12.3227)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371C64 #49641C
analogous
#1C2564 #371C64 #5B1C64
triadic
#371C64 #64371C #1C6437
tetradic
#371C64 #641C25 #49641C #1C645B
square
#371C64 #641C25 #49641C #1C645B
split-complementary
#371C64 #645B1C #25641C
monochromatic
#0D0718 #1D0F34 #371C64 #512994 #6C37C4

Accessibility & contrast

On white

13.88
#371C64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#371C64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371C64
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371C64#FFFFFF#000000##FFFFFF
##371C641.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D66
Deuteranopia (green-blind)
#002B63
Tritanopia (blue-blind)
#2B2D3D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #371c64;
/* rgb */ color: rgb(55, 28, 100);
/* oklch */ color: oklch(30.8% 0.120 295.7);
Tailwind
colors: {
  custom: {
    50: '#725a91',
    500: '#371c64',
    950: '#000000',
  },
}
SCSS
$custom: #371c64;
$custom-light: #725a91;
$custom-dark: #000000;
JSON
{
  "hex": "#371c64",
  "rgb": {
    "r": 55,
    "g": 28,
    "b": 100
  },
  "hsl": {
    "h": 262.5,
    "s": 56.25,
    "l": 25.098
  },
  "oklch": {
    "l": 0.30824,
    "c": 0.11983,
    "h": 295.7
  },
  "luminance": 0.02563
}

Semantic roles & 50–950 ramp

primary
#371C64
secondary
#799943
accent
#E048A7
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040D
muted
#7B797D

Preview Lab

Preview with #371C64

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

Preview Lab → · Contrast checker → · Palette generator →

#371C64 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva