#371055#371055

#371055 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.9% C 0.118 H 305.7°. Best body text is #FFFFFF at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#371055
RGBrgb(55, 16, 85)
HSLhsl(274, 68%, 20%)
HSVhsv(274, 81%, 33%)
CMYKcmyk(35.3%, 81.2%, 0%, 66.7%)
CIE-LABlab(14.62, 32.78, -33.58)
CIE-LCHlch(14.62, 46.93, 314.31°)
OKLaboklab(27.87% 0.0685 -0.0955)
OKLCHoklch(27.87% 0.118 305.7)
XYZxyz(3.4002, 1.8387, 8.7683)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371055 #2E5510
analogous
#141055 #371055 #551051
triadic
#371055 #553710 #105537
tetradic
#371055 #551410 #2E5510 #105155
square
#371055 #551410 #2E5510 #105155
split-complementary
#371055 #515510 #105514
monochromatic
#11051A #160621 #371055 #581A89 #7A23BC

Accessibility & contrast

On white

15.35
#371055 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #371055
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371055#FFFFFF#000000##FFFFFF
##3710551.0015.351.3715.35
#FFFFFF15.351.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002457
Deuteranopia (green-blind)
#002554
Tritanopia (blue-blind)
#322132
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #371055;
/* rgb */ color: rgb(55, 16, 85);
/* oklch */ color: oklch(27.9% 0.118 305.7);
Tailwind
colors: {
  custom: {
    50: '#715385',
    500: '#371055',
    950: '#000000',
  },
}
SCSS
$custom: #371055;
$custom-light: #715385;
$custom-dark: #000000;
JSON
{
  "hex": "#371055",
  "rgb": {
    "r": 55,
    "g": 16,
    "b": 85
  },
  "hsl": {
    "h": 273.913,
    "s": 68.317,
    "l": 19.804
  },
  "oklch": {
    "l": 0.27867,
    "c": 0.11756,
    "h": 305.7
  },
  "luminance": 0.01839
}

Semantic roles & 50–950 ramp

primary
#371055
secondary
#5A8F32
accent
#EB3D89
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #371055

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

Preview Lab → · Contrast checker → · Palette generator →

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