#371C6B#371C6B

#371C6B is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.5% C 0.129 H 293.2°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#371C6B
RGBrgb(55, 28, 107)
HSLhsl(261, 59%, 26%)
HSVhsv(261, 74%, 42%)
CMYKcmyk(48.6%, 73.8%, 0%, 58%)
CIE-LABlab(18.82, 32.71, -41.36)
CIE-LCHlch(18.82, 52.73, 308.35°)
OKLaboklab(31.46% 0.0508 -0.1185)
OKLCHoklch(31.46% 0.129 293.2)
XYZxyz(4.6439, 2.7041, 14.1843)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371C6B #506B1C
analogous
#1C296B #371C6B #5F1C6B
triadic
#371C6B #6B371C #1C6B37
tetradic
#371C6B #6B1C29 #506B1C #1C6B5F
square
#371C6B #6B1C29 #506B1C #1C6B5F
split-complementary
#371C6B #6B5F1C #296B1C
monochromatic
#0C0618 #1E0F3A #371C6B #50299C #6937CB

Accessibility & contrast

On white

13.63
#371C6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#371C6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371C6B
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371C6B#FFFFFF#000000##FFFFFF
##371C6B1.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6D
Deuteranopia (green-blind)
#002C69
Tritanopia (blue-blind)
#283041
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #371c6b;
/* rgb */ color: rgb(55, 28, 107);
/* oklch */ color: oklch(31.5% 0.129 293.2);
Tailwind
colors: {
  custom: {
    50: '#735b96',
    500: '#371c6b',
    950: '#000000',
  },
}
SCSS
$custom: #371c6b;
$custom-light: #735b96;
$custom-dark: #000000;
JSON
{
  "hex": "#371c6b",
  "rgb": {
    "r": 55,
    "g": 28,
    "b": 107
  },
  "hsl": {
    "h": 260.506,
    "s": 58.519,
    "l": 26.471
  },
  "oklch": {
    "l": 0.31458,
    "c": 0.12887,
    "h": 293.2
  },
  "luminance": 0.02704
}

Semantic roles & 50–950 ramp

primary
#371C6B
secondary
#80A043
accent
#E246AD
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040D
muted
#7B797E

Preview Lab

Preview with #371C6B

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

Preview Lab → · Contrast checker → · Palette generator →

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