#371150#371150

#371150 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.5% C 0.111 H 308.3°. Best body text is #FFFFFF at 15.46:1 contrast (WCAG AA passes).

Color values

HEX#371150
RGBrgb(55, 17, 80)
HSLhsl(276, 65%, 19%)
HSVhsv(276, 79%, 31%)
CMYKcmyk(31.2%, 78.8%, 0%, 68.6%)
CIE-LABlab(14.36, 31.00, -30.59)
CIE-LCHlch(14.36, 43.55, 315.37°)
OKLaboklab(27.55% 0.0685 -0.0868)
OKLCHoklch(27.55% 0.111 308.3)
XYZxyz(3.2237, 1.7924, 7.7640)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371150 #2A5011
analogous
#181150 #371150 #50114A
triadic
#371150 #503711 #115037
tetradic
#371150 #501811 #2A5011 #114A50
square
#371150 #501811 #2A5011 #114A50
split-complementary
#371150 #4A5011 #115018
monochromatic
#110519 #14061E #371150 #5A1C82 #7C26B5

Accessibility & contrast

On white

15.46
#371150 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#371150 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371150
15.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371150#FFFFFF#000000##FFFFFF
##3711501.0015.461.3615.46
#FFFFFF15.461.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002352
Deuteranopia (green-blind)
#02254F
Tritanopia (blue-blind)
#331F2F
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #371150;
/* rgb */ color: rgb(55, 17, 80);
/* oklch */ color: oklch(27.5% 0.111 308.3);
Tailwind
colors: {
  custom: {
    50: '#715382',
    500: '#371150',
    950: '#000000',
  },
}
SCSS
$custom: #371150;
$custom-light: #715382;
$custom-dark: #000000;
JSON
{
  "hex": "#371150",
  "rgb": {
    "r": 55,
    "g": 17,
    "b": 80
  },
  "hsl": {
    "h": 276.19,
    "s": 64.948,
    "l": 19.02
  },
  "oklch": {
    "l": 0.27549,
    "c": 0.11053,
    "h": 308.3
  },
  "luminance": 0.01792
}

Semantic roles & 50–950 ramp

primary
#371150
secondary
#568933
accent
#E84083
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020A
muted
#7B787C

Preview Lab

Preview with #371150

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

Preview Lab → · Contrast checker → · Palette generator →

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