#371E75#371E75

#371E75 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.7% C 0.139 H 289.6°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#371E75
RGBrgb(55, 30, 117)
HSLhsl(257, 59%, 29%)
HSVhsv(257, 74%, 46%)
CMYKcmyk(53%, 74.4%, 0%, 54.1%)
CIE-LABlab(20.14, 34.63, -45.66)
CIE-LCHlch(20.14, 57.30, 307.18°)
OKLaboklab(32.69% 0.0466 -0.1311)
OKLCHoklch(32.69% 0.139 289.6)
XYZxyz(5.2498, 3.0249, 17.1334)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371E75 #5C751E
analogous
#1E3175 #371E75 #631E75
triadic
#371E75 #75371E #1E7537
tetradic
#371E75 #751E31 #5C751E #1E7563
square
#371E75 #751E31 #5C751E #1E7563
split-complementary
#371E75 #75631E #31751E
monochromatic
#0B0618 #201244 #371E75 #4E2AA6 #6840CE

Accessibility & contrast

On white

13.08
#371E75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#371E75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371E75
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371E75#FFFFFF#000000##FFFFFF
##371E751.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003278
Deuteranopia (green-blind)
#002E73
Tritanopia (blue-blind)
#213547
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #371e75;
/* rgb */ color: rgb(55, 30, 117);
/* oklch */ color: oklch(32.7% 0.139 289.6);
Tailwind
colors: {
  custom: {
    50: '#755c9e',
    500: '#371e75',
    950: '#000000',
  },
}
SCSS
$custom: #371e75;
$custom-light: #755c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#371e75",
  "rgb": {
    "r": 55,
    "g": 30,
    "b": 117
  },
  "hsl": {
    "h": 257.241,
    "s": 59.184,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32686,
    "c": 0.13913,
    "h": 289.6
  },
  "luminance": 0.03025
}

Semantic roles & 50–950 ramp

primary
#371E75
secondary
#8CA946
accent
#E245B5
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #371E75

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

Preview Lab → · Contrast checker → · Palette generator →

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