#371066#371066

#371066 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.5% C 0.137 H 297.6°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#371066
RGBrgb(55, 16, 102)
HSLhsl(267, 73%, 23%)
HSVhsv(267, 84%, 40%)
CMYKcmyk(46.1%, 84.3%, 0%, 60%)
CIE-LABlab(16.22, 37.33, -42.33)
CIE-LCHlch(16.22, 56.44, 311.40°)
OKLaboklab(29.48% 0.0635 -0.1212)
OKLCHoklch(29.48% 0.137 297.6)
XYZxyz(4.1585, 2.1420, 12.7622)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371066 #3F6610
analogous
#101466 #371066 #621066
triadic
#371066 #663710 #106637
tetradic
#371066 #661014 #3F6610 #106662
square
#371066 #661014 #3F6610 #106662
split-complementary
#371066 #666210 #146610
monochromatic
#0E041A #1A0831 #371066 #54189B #7021D0

Accessibility & contrast

On white

14.70
#371066 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #371066
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371066#FFFFFF#000000##FFFFFF
##3710661.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002868
Deuteranopia (green-blind)
#002764
Tritanopia (blue-blind)
#2B283B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #371066;
/* rgb */ color: rgb(55, 16, 102);
/* oklch */ color: oklch(29.5% 0.137 297.6);
Tailwind
colors: {
  custom: {
    50: '#745492',
    500: '#371066',
    950: '#000000',
  },
}
SCSS
$custom: #371066;
$custom-light: #745492;
$custom-dark: #000000;
JSON
{
  "hex": "#371066",
  "rgb": {
    "r": 55,
    "g": 16,
    "b": 102
  },
  "hsl": {
    "h": 267.209,
    "s": 72.881,
    "l": 23.137
  },
  "oklch": {
    "l": 0.2948,
    "c": 0.13687,
    "h": 297.6
  },
  "luminance": 0.02142
}

Semantic roles & 50–950 ramp

primary
#371066
secondary
#6E9E33
accent
#F0389C
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #371066

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

Preview Lab → · Contrast checker → · Palette generator →

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