#371367#371367

#371367 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.9% C 0.135 H 296.7°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#371367
RGBrgb(55, 19, 103)
HSLhsl(266, 69%, 24%)
HSVhsv(266, 82%, 40%)
CMYKcmyk(46.6%, 81.6%, 0%, 59.6%)
CIE-LABlab(16.78, 36.25, -42.06)
CIE-LCHlch(16.78, 55.52, 310.75°)
OKLaboklab(29.91% 0.0606 -0.1205)
OKLCHoklch(29.91% 0.135 296.7)
XYZxyz(4.2560, 2.2572, 13.0408)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371367 #436713
analogous
#131967 #371367 #611367
triadic
#371367 #673713 #136737
tetradic
#371367 #671319 #436713 #136761
square
#371367 #671319 #436713 #136761
split-complementary
#371367 #676113 #196713
monochromatic
#0E051A #1B0933 #371367 #531D9B #6E26CE

Accessibility & contrast

On white

14.47
#371367 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#371367 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371367
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371367#FFFFFF#000000##FFFFFF
##3713671.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A69
Deuteranopia (green-blind)
#002865
Tritanopia (blue-blind)
#2A2A3C
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #371367;
/* rgb */ color: rgb(55, 19, 103);
/* oklch */ color: oklch(29.9% 0.135 296.7);
Tailwind
colors: {
  custom: {
    50: '#745593',
    500: '#371367',
    950: '#000000',
  },
}
SCSS
$custom: #371367;
$custom-light: #745593;
$custom-dark: #000000;
JSON
{
  "hex": "#371367",
  "rgb": {
    "r": 55,
    "g": 19,
    "b": 103
  },
  "hsl": {
    "h": 265.714,
    "s": 68.852,
    "l": 23.922
  },
  "oklch": {
    "l": 0.29906,
    "c": 0.13486,
    "h": 296.7
  },
  "luminance": 0.02257
}

Semantic roles & 50–950 ramp

primary
#371367
secondary
#729E37
accent
#EC3CA0
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #371367

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

Preview Lab → · Contrast checker → · Palette generator →

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