#371A55#371A55

#371A55 is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.2% C 0.103 H 303.1°. Best body text is #FFFFFF at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#371A55
RGBrgb(55, 26, 85)
HSLhsl(269, 53%, 22%)
HSVhsv(269, 69%, 33%)
CMYKcmyk(35.3%, 69.4%, 0%, 66.7%)
CIE-LABlab(16.54, 27.42, -30.47)
CIE-LCHlch(16.54, 40.99, 311.99°)
OKLaboklab(29.24% 0.0565 -0.0864)
OKLCHoklch(29.24% 0.103 303.1)
XYZxyz(3.5843, 2.2069, 8.8297)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371A55 #38551A
analogous
#1A1A55 #371A55 #551A55
triadic
#371A55 #55371A #1A5537
tetradic
#371A55 #551A1A #38551A #1A5555
square
#371A55 #551A1A #38551A #1A5555
split-complementary
#371A55 #55551A #1A551A
monochromatic
#0F0717 #190C26 #371A55 #552884 #7437B3

Accessibility & contrast

On white

14.57
#371A55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#371A55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371A55
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371A55#FFFFFF#000000##FFFFFF
##371A551.0014.571.4414.57
#FFFFFF14.571.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002857
Deuteranopia (green-blind)
#072954
Tritanopia (blue-blind)
#312734
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #371a55;
/* rgb */ color: rgb(55, 26, 85);
/* oklch */ color: oklch(29.2% 0.103 303.1);
Tailwind
colors: {
  custom: {
    50: '#715885',
    500: '#371a55',
    950: '#000000',
  },
}
SCSS
$custom: #371a55;
$custom-light: #715885;
$custom-dark: #000000;
JSON
{
  "hex": "#371a55",
  "rgb": {
    "r": 55,
    "g": 26,
    "b": 85
  },
  "hsl": {
    "h": 269.492,
    "s": 53.153,
    "l": 21.765
  },
  "oklch": {
    "l": 0.29239,
    "c": 0.10325,
    "h": 303.1
  },
  "luminance": 0.02207
}

Semantic roles & 50–950 ramp

primary
#371A55
secondary
#668B40
accent
#DD4B95
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #371A55

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

Preview Lab → · Contrast checker → · Palette generator →

#371A55 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva