#371366#371366

#371366 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.8% C 0.134 H 297.1°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#371366
RGBrgb(55, 19, 102)
HSLhsl(266, 69%, 24%)
HSVhsv(266, 81%, 40%)
CMYKcmyk(46.1%, 81.4%, 0%, 60%)
CIE-LABlab(16.69, 35.97, -41.56)
CIE-LCHlch(16.69, 54.97, 310.87°)
OKLaboklab(29.81% 0.0609 -0.119)
OKLCHoklch(29.81% 0.134 297.1)
XYZxyz(4.2061, 2.2372, 12.7780)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371366 #426613
analogous
#131866 #371366 #601366
triadic
#371366 #663713 #136637
tetradic
#371366 #661318 #426613 #136660
square
#371366 #661318 #426613 #136660
split-complementary
#371366 #666013 #186613
monochromatic
#0E051A #1B0932 #371366 #531D9A #6F26CD

Accessibility & contrast

On white

14.51
#371366 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #371366
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371366#FFFFFF#000000##FFFFFF
##3713661.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A68
Deuteranopia (green-blind)
#002864
Tritanopia (blue-blind)
#2B2A3C
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #371366;
/* rgb */ color: rgb(55, 19, 102);
/* oklch */ color: oklch(29.8% 0.134 297.1);
Tailwind
colors: {
  custom: {
    50: '#735592',
    500: '#371366',
    950: '#000000',
  },
}
SCSS
$custom: #371366;
$custom-light: #735592;
$custom-dark: #000000;
JSON
{
  "hex": "#371366",
  "rgb": {
    "r": 55,
    "g": 19,
    "b": 102
  },
  "hsl": {
    "h": 266.024,
    "s": 68.595,
    "l": 23.725
  },
  "oklch": {
    "l": 0.29808,
    "c": 0.13369,
    "h": 297.1
  },
  "luminance": 0.02237
}

Semantic roles & 50–950 ramp

primary
#371366
secondary
#719D37
accent
#EB3CA0
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #371366

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

Preview Lab → · Contrast checker → · Palette generator →

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