#371C6D#371C6D

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

Color values

HEX#371C6D
RGBrgb(55, 28, 109)
HSLhsl(260, 59%, 27%)
HSVhsv(260, 74%, 43%)
CMYKcmyk(49.5%, 74.3%, 0%, 57.3%)
CIE-LABlab(19.00, 33.32, -42.36)
CIE-LCHlch(19.00, 53.89, 308.18°)
OKLaboklab(31.64% 0.0503 -0.1214)
OKLCHoklch(31.64% 0.131 292.5)
XYZxyz(4.7504, 2.7467, 14.7449)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371C6D #526D1C
analogous
#1C2A6D #371C6D #601C6D
triadic
#371C6D #6D371C #1C6D37
tetradic
#371C6D #6D1C2A #526D1C #1C6D60
square
#371C6D #6D1C2A #526D1C #1C6D60
split-complementary
#371C6D #6D601C #2A6D1C
monochromatic
#0C0618 #1E0F3C #371C6D #50299E #6938CC

Accessibility & contrast

On white

13.55
#371C6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #371C6D
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371C6D#FFFFFF#000000##FFFFFF
##371C6D1.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6F
Deuteranopia (green-blind)
#002D6B
Tritanopia (blue-blind)
#263142
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #371c6d;
/* rgb */ color: rgb(55, 28, 109);
/* oklch */ color: oklch(31.6% 0.131 292.5);
Tailwind
colors: {
  custom: {
    50: '#745b98',
    500: '#371c6d',
    950: '#000000',
  },
}
SCSS
$custom: #371c6d;
$custom-light: #745b98;
$custom-dark: #000000;
JSON
{
  "hex": "#371c6d",
  "rgb": {
    "r": 55,
    "g": 28,
    "b": 109
  },
  "hsl": {
    "h": 260,
    "s": 59.124,
    "l": 26.863
  },
  "oklch": {
    "l": 0.31644,
    "c": 0.13143,
    "h": 292.5
  },
  "luminance": 0.02747
}

Semantic roles & 50–950 ramp

primary
#371C6D
secondary
#82A243
accent
#E245AE
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #371C6D

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

Preview Lab → · Contrast checker → · Palette generator →

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