#371362#371362

#371362 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.4% C 0.129 H 298.8°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#371362
RGBrgb(55, 19, 98)
HSLhsl(267, 68%, 23%)
HSVhsv(267, 81%, 38%)
CMYKcmyk(43.9%, 80.6%, 0%, 61.6%)
CIE-LABlab(16.30, 34.86, -39.54)
CIE-LCHlch(16.30, 52.71, 311.39°)
OKLaboklab(29.42% 0.0621 -0.1131)
OKLCHoklch(29.42% 0.129 298.8)
XYZxyz(4.0125, 2.1598, 11.7584)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371362 #3E6213
analogous
#131662 #371362 #5E1362
triadic
#371362 #623713 #136237
tetradic
#371362 #621316 #3E6213 #13625E
square
#371362 #621316 #3E6213 #13625E
split-complementary
#371362 #625E13 #166213
monochromatic
#0E051A #1A092F #371362 #541D95 #7127C9

Accessibility & contrast

On white

14.66
#371362 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#371362 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371362
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371362#FFFFFF#000000##FFFFFF
##3713621.0014.661.4314.66
#FFFFFF14.661.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002864
Deuteranopia (green-blind)
#002860
Tritanopia (blue-blind)
#2C283A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #371362;
/* rgb */ color: rgb(55, 19, 98);
/* oklch */ color: oklch(29.4% 0.129 298.8);
Tailwind
colors: {
  custom: {
    50: '#73558f',
    500: '#371362',
    950: '#000000',
  },
}
SCSS
$custom: #371362;
$custom-light: #73558f;
$custom-dark: #000000;
JSON
{
  "hex": "#371362",
  "rgb": {
    "r": 55,
    "g": 19,
    "b": 98
  },
  "hsl": {
    "h": 267.342,
    "s": 67.521,
    "l": 22.941
  },
  "oklch": {
    "l": 0.29423,
    "c": 0.129,
    "h": 298.8
  },
  "luminance": 0.0216
}

Semantic roles & 50–950 ramp

primary
#371362
secondary
#6D9A37
accent
#EA3D9C
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #371362

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

Preview Lab → · Contrast checker → · Palette generator →

#371362 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva