#371154#371154

#371154 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 27.9% C 0.115 H 306.0°. Best body text is #FFFFFF at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#371154
RGBrgb(55, 17, 84)
HSLhsl(274, 66%, 20%)
HSVhsv(274, 80%, 33%)
CMYKcmyk(34.5%, 79.8%, 0%, 67.1%)
CIE-LABlab(14.70, 32.04, -32.77)
CIE-LCHlch(14.70, 45.83, 314.36°)
OKLaboklab(27.9% 0.0677 -0.0932)
OKLCHoklch(27.9% 0.115 306)
XYZxyz(3.3759, 1.8532, 8.5657)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371154 #2E5411
analogous
#161154 #371154 #541150
triadic
#371154 #543711 #115437
tetradic
#371154 #541611 #2E5411 #115054
square
#371154 #541611 #2E5411 #115054
split-complementary
#371154 #505411 #115416
monochromatic
#110519 #160721 #371154 #581B87 #7A26BA

Accessibility & contrast

On white

15.32
#371154 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#371154 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371154
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371154#FFFFFF#000000##FFFFFF
##3711541.0015.321.3715.32
#FFFFFF15.321.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002456
Deuteranopia (green-blind)
#002553
Tritanopia (blue-blind)
#322131
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #371154;
/* rgb */ color: rgb(55, 17, 84);
/* oklch */ color: oklch(27.9% 0.115 306.0);
Tailwind
colors: {
  custom: {
    50: '#715385',
    500: '#371154',
    950: '#000000',
  },
}
SCSS
$custom: #371154;
$custom-light: #715385;
$custom-dark: #000000;
JSON
{
  "hex": "#371154",
  "rgb": {
    "r": 55,
    "g": 17,
    "b": 84
  },
  "hsl": {
    "h": 274.03,
    "s": 66.337,
    "l": 19.804
  },
  "oklch": {
    "l": 0.27897,
    "c": 0.11514,
    "h": 306
  },
  "luminance": 0.01853
}

Semantic roles & 50–950 ramp

primary
#371154
secondary
#5A8D34
accent
#E93F88
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #371154

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

Preview Lab → · Contrast checker → · Palette generator →

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