#371973#371973

#371973 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.8% C 0.143 H 291.3°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#371973
RGBrgb(55, 25, 115)
HSLhsl(260, 64%, 27%)
HSVhsv(260, 78%, 45%)
CMYKcmyk(52.2%, 78.3%, 0%, 54.9%)
CIE-LABlab(18.99, 36.73, -46.26)
CIE-LCHlch(18.99, 59.06, 308.45°)
OKLaboklab(31.81% 0.0517 -0.1328)
OKLCHoklch(31.81% 0.143 291.3)
XYZxyz(5.0168, 2.7451, 16.4819)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371973 #557319
analogous
#192873 #371973 #641973
triadic
#371973 #733719 #197337
tetradic
#371973 #731928 #557319 #197364
square
#371973 #731928 #557319 #197364
split-complementary
#371973 #736419 #287319
monochromatic
#0C0519 #1F0E41 #371973 #4F24A5 #6934D3

Accessibility & contrast

On white

13.56
#371973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#371973 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371973
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371973#FFFFFF#000000##FFFFFF
##3719731.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003076
Deuteranopia (green-blind)
#002C71
Tritanopia (blue-blind)
#233245
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #371973;
/* rgb */ color: rgb(55, 25, 115);
/* oklch */ color: oklch(31.8% 0.143 291.3);
Tailwind
colors: {
  custom: {
    50: '#75599c',
    500: '#371973',
    950: '#000000',
  },
}
SCSS
$custom: #371973;
$custom-light: #75599c;
$custom-dark: #000000;
JSON
{
  "hex": "#371973",
  "rgb": {
    "r": 55,
    "g": 25,
    "b": 115
  },
  "hsl": {
    "h": 260,
    "s": 64.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.31814,
    "c": 0.14253,
    "h": 291.3
  },
  "luminance": 0.02745
}

Semantic roles & 50–950 ramp

primary
#371973
secondary
#85A840
accent
#E741B0
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #371973

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

Preview Lab → · Contrast checker → · Palette generator →

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