#371575#371575

#371575 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.5% C 0.149 H 291.4°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#371575
RGBrgb(55, 21, 117)
HSLhsl(261, 70%, 27%)
HSVhsv(261, 82%, 46%)
CMYKcmyk(53%, 82.1%, 0%, 54.1%)
CIE-LABlab(18.51, 39.27, -48.34)
CIE-LCHlch(18.51, 62.28, 309.09°)
OKLaboklab(31.54% 0.0544 -0.1389)
OKLCHoklch(31.54% 0.149 291.4)
XYZxyz(5.0537, 2.6327, 17.0681)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371575 #537515
analogous
#152375 #371575 #671575
triadic
#371575 #753715 #157537
tetradic
#371575 #751523 #537515 #157567
square
#371575 #751523 #537515 #157567
split-complementary
#371575 #756715 #237515
monochromatic
#0C051A #1F0C41 #371575 #4F1EA9 #692BD9

Accessibility & contrast

On white

13.76
#371575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#371575 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371575
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371575#FFFFFF#000000##FFFFFF
##3715751.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F78
Deuteranopia (green-blind)
#002B73
Tritanopia (blue-blind)
#213145
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #371575;
/* rgb */ color: rgb(55, 21, 117);
/* oklch */ color: oklch(31.5% 0.149 291.4);
Tailwind
colors: {
  custom: {
    50: '#76579e',
    500: '#371575',
    950: '#000000',
  },
}
SCSS
$custom: #371575;
$custom-light: #76579e;
$custom-dark: #000000;
JSON
{
  "hex": "#371575",
  "rgb": {
    "r": 55,
    "g": 21,
    "b": 117
  },
  "hsl": {
    "h": 261.25,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.31536,
    "c": 0.14917,
    "h": 291.4
  },
  "luminance": 0.02633
}

Semantic roles & 50–950 ramp

primary
#371575
secondary
#83AB3B
accent
#EC3BAE
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #371575

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

Preview Lab → · Contrast checker → · Palette generator →

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