#371C6A#371C6A

#371C6A is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.4% C 0.128 H 293.5°. Best body text is #FFFFFF at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#371C6A
RGBrgb(55, 28, 106)
HSLhsl(261, 58%, 26%)
HSVhsv(261, 74%, 42%)
CMYKcmyk(48.1%, 73.6%, 0%, 58.4%)
CIE-LABlab(18.73, 32.41, -40.85)
CIE-LCHlch(18.73, 52.15, 308.43°)
OKLaboklab(31.37% 0.051 -0.117)
OKLCHoklch(31.37% 0.128 293.5)
XYZxyz(4.5916, 2.6832, 13.9089)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371C6A #4F6A1C
analogous
#1C286A #371C6A #5E1C6A
triadic
#371C6A #6A371C #1C6A37
tetradic
#371C6A #6A1C28 #4F6A1C #1C6A5E
square
#371C6A #6A1C28 #4F6A1C #1C6A5E
split-complementary
#371C6A #6A5E1C #286A1C
monochromatic
#0D0618 #1E0F3A #371C6A #50299A #6936CA

Accessibility & contrast

On white

13.67
#371C6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #371C6A
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371C6A#FFFFFF#000000##FFFFFF
##371C6A1.0013.671.5413.67
#FFFFFF13.671.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6C
Deuteranopia (green-blind)
#002C68
Tritanopia (blue-blind)
#283040
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #371c6a;
/* rgb */ color: rgb(55, 28, 106);
/* oklch */ color: oklch(31.4% 0.128 293.5);
Tailwind
colors: {
  custom: {
    50: '#735a95',
    500: '#371c6a',
    950: '#000000',
  },
}
SCSS
$custom: #371c6a;
$custom-light: #735a95;
$custom-dark: #000000;
JSON
{
  "hex": "#371c6a",
  "rgb": {
    "r": 55,
    "g": 28,
    "b": 106
  },
  "hsl": {
    "h": 260.769,
    "s": 58.209,
    "l": 26.275
  },
  "oklch": {
    "l": 0.31366,
    "c": 0.12758,
    "h": 293.5
  },
  "luminance": 0.02683
}

Semantic roles & 50–950 ramp

primary
#371C6A
secondary
#7F9F43
accent
#E146AC
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040D
muted
#7B797E

Preview Lab

Preview with #371C6A

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

Preview Lab → · Contrast checker → · Palette generator →

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