#371C6C#371C6C

#371C6C is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.6% C 0.130 H 292.8°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#371C6C
RGBrgb(55, 28, 108)
HSLhsl(260, 59%, 27%)
HSVhsv(260, 74%, 42%)
CMYKcmyk(49.1%, 74.1%, 0%, 57.6%)
CIE-LABlab(18.91, 33.01, -41.86)
CIE-LCHlch(18.91, 53.31, 308.26°)
OKLaboklab(31.55% 0.0505 -0.1199)
OKLCHoklch(31.55% 0.13 292.8)
XYZxyz(4.6968, 2.7253, 14.4630)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371C6C #516C1C
analogous
#1C296C #371C6C #5F1C6C
triadic
#371C6C #6C371C #1C6C37
tetradic
#371C6C #6C1C29 #516C1C #1C6C5F
square
#371C6C #6C1C29 #516C1C #1C6C5F
split-complementary
#371C6C #6C5F1C #296C1C
monochromatic
#0C0618 #1E0F3B #371C6C #50299D #6937CB

Accessibility & contrast

On white

13.59
#371C6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#371C6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371C6C
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371C6C#FFFFFF#000000##FFFFFF
##371C6C1.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6E
Deuteranopia (green-blind)
#002C6A
Tritanopia (blue-blind)
#273042
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #371c6c;
/* rgb */ color: rgb(55, 28, 108);
/* oklch */ color: oklch(31.6% 0.130 292.8);
Tailwind
colors: {
  custom: {
    50: '#745b97',
    500: '#371c6c',
    950: '#000000',
  },
}
SCSS
$custom: #371c6c;
$custom-light: #745b97;
$custom-dark: #000000;
JSON
{
  "hex": "#371c6c",
  "rgb": {
    "r": 55,
    "g": 28,
    "b": 108
  },
  "hsl": {
    "h": 260.25,
    "s": 58.824,
    "l": 26.667
  },
  "oklch": {
    "l": 0.31551,
    "c": 0.13015,
    "h": 292.8
  },
  "luminance": 0.02725
}

Semantic roles & 50–950 ramp

primary
#371C6C
secondary
#81A143
accent
#E246AD
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040D
muted
#7B797E

Preview Lab

Preview with #371C6C

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

Preview Lab → · Contrast checker → · Palette generator →

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