#371960#371960

#371960 is a dark, moderate violet. Relative luminance 0.024; OKLCH L 30.0% C 0.119 H 298.2°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#371960
RGBrgb(55, 25, 96)
HSLhsl(265, 59%, 24%)
HSVhsv(265, 74%, 38%)
CMYKcmyk(42.7%, 74%, 0%, 62.4%)
CIE-LABlab(17.24, 31.15, -36.70)
CIE-LCHlch(17.24, 48.14, 310.33°)
OKLaboklab(30.03% 0.0562 -0.1048)
OKLCHoklch(30.03% 0.119 298.2)
XYZxyz(4.0340, 2.3520, 11.3055)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371960 #426019
analogous
#191E60 #371960 #5A1960
triadic
#371960 #603719 #196037
tetradic
#371960 #60191E #426019 #19605A
square
#371960 #60191E #426019 #19605A
split-complementary
#371960 #605A19 #1E6019
monochromatic
#0E0618 #1B0C2F #371960 #532691 #6F32C1

Accessibility & contrast

On white

14.28
#371960 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#371960 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371960
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371960#FFFFFF#000000##FFFFFF
##3719601.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A62
Deuteranopia (green-blind)
#002A5F
Tritanopia (blue-blind)
#2D2A3A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #371960;
/* rgb */ color: rgb(55, 25, 96);
/* oklch */ color: oklch(30.0% 0.119 298.2);
Tailwind
colors: {
  custom: {
    50: '#72588e',
    500: '#371960',
    950: '#000000',
  },
}
SCSS
$custom: #371960;
$custom-light: #72588e;
$custom-dark: #000000;
JSON
{
  "hex": "#371960",
  "rgb": {
    "r": 55,
    "g": 25,
    "b": 96
  },
  "hsl": {
    "h": 265.352,
    "s": 58.678,
    "l": 23.725
  },
  "oklch": {
    "l": 0.30026,
    "c": 0.11888,
    "h": 298.2
  },
  "luminance": 0.02352
}

Semantic roles & 50–950 ramp

primary
#371960
secondary
#71963F
accent
#E246A0
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #371960

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

Preview Lab → · Contrast checker → · Palette generator →

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