#371357#371357

#371357 is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.4% C 0.116 H 304.0°. Best body text is #FFFFFF at 15.07:1 contrast (WCAG AA passes).

Color values

HEX#371357
RGBrgb(55, 19, 87)
HSLhsl(272, 64%, 21%)
HSVhsv(272, 78%, 34%)
CMYKcmyk(36.8%, 78.2%, 0%, 65.9%)
CIE-LABlab(15.31, 31.84, -33.81)
CIE-LCHlch(15.31, 46.44, 313.29°)
OKLaboklab(28.41% 0.0648 -0.0962)
OKLCHoklch(28.41% 0.116 304)
XYZxyz(3.5283, 1.9661, 9.2086)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371357 #335713
analogous
#151357 #371357 #571355
triadic
#371357 #573713 #135737
tetradic
#371357 #571513 #335713 #135557
square
#371357 #571513 #335713 #135557
split-complementary
#371357 #555713 #135715
monochromatic
#100519 #170825 #371357 #571E89 #7729BB

Accessibility & contrast

On white

15.07
#371357 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#371357 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371357
15.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371357#FFFFFF#000000##FFFFFF
##3713571.0015.071.3915.07
#FFFFFF15.071.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002659
Deuteranopia (green-blind)
#002656
Tritanopia (blue-blind)
#312333
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #371357;
/* rgb */ color: rgb(55, 19, 87);
/* oklch */ color: oklch(28.4% 0.116 304.0);
Tailwind
colors: {
  custom: {
    50: '#715487',
    500: '#371357',
    950: '#000000',
  },
}
SCSS
$custom: #371357;
$custom-light: #715487;
$custom-dark: #000000;
JSON
{
  "hex": "#371357",
  "rgb": {
    "r": 55,
    "g": 19,
    "b": 87
  },
  "hsl": {
    "h": 271.765,
    "s": 64.151,
    "l": 20.784
  },
  "oklch": {
    "l": 0.28411,
    "c": 0.11602,
    "h": 304
  },
  "luminance": 0.01966
}

Semantic roles & 50–950 ramp

primary
#371357
secondary
#608F36
accent
#E7418F
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #371357

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

Preview Lab → · Contrast checker → · Palette generator →

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