#371160#371160

#371160 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.0% C 0.129 H 300.0°. Best body text is #FFFFFF at 14.88:1 contrast (WCAG AA passes).

Color values

HEX#371160
RGBrgb(55, 17, 96)
HSLhsl(269, 70%, 22%)
HSVhsv(269, 82%, 38%)
CMYKcmyk(42.7%, 82.3%, 0%, 62.4%)
CIE-LABlab(15.79, 35.25, -39.06)
CIE-LCHlch(15.79, 52.62, 312.06°)
OKLaboklab(29% 0.0646 -0.1116)
OKLCHoklch(29% 0.129 300)
XYZxyz(3.8868, 2.0576, 11.2564)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371160 #3A6011
analogous
#111260 #371160 #5F1160
triadic
#371160 #603711 #116037
tetradic
#371160 #601112 #3A6011 #11605F
square
#371160 #601112 #3A6011 #11605F
split-complementary
#371160 #605F11 #126011
monochromatic
#0F051A #19082C #371160 #551A94 #7323C8

Accessibility & contrast

On white

14.88
#371160 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#371160 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371160
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371160#FFFFFF#000000##FFFFFF
##3711601.0014.881.4114.88
#FFFFFF14.881.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002762
Deuteranopia (green-blind)
#00275E
Tritanopia (blue-blind)
#2D2638
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #371160;
/* rgb */ color: rgb(55, 17, 96);
/* oklch */ color: oklch(29.0% 0.129 300.0);
Tailwind
colors: {
  custom: {
    50: '#73548e',
    500: '#371160',
    950: '#000000',
  },
}
SCSS
$custom: #371160;
$custom-light: #73548e;
$custom-dark: #000000;
JSON
{
  "hex": "#371160",
  "rgb": {
    "r": 55,
    "g": 17,
    "b": 96
  },
  "hsl": {
    "h": 268.861,
    "s": 69.912,
    "l": 22.157
  },
  "oklch": {
    "l": 0.29002,
    "c": 0.12897,
    "h": 300
  },
  "luminance": 0.02058
}

Semantic roles & 50–950 ramp

primary
#371160
secondary
#689934
accent
#ED3B97
background
#F7F5F8
surface
#EDE8F0
border
#C8C4CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #371160

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

Preview Lab → · Contrast checker → · Palette generator →

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