#371760#371760

#371760 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.7% C 0.122 H 298.7°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#371760
RGBrgb(55, 23, 96)
HSLhsl(266, 61%, 23%)
HSVhsv(266, 76%, 38%)
CMYKcmyk(42.7%, 76%, 0%, 62.4%)
CIE-LABlab(16.84, 32.25, -37.34)
CIE-LCHlch(16.84, 49.34, 310.82°)
OKLaboklab(29.75% 0.0585 -0.1066)
OKLCHoklch(29.75% 0.122 298.7)
XYZxyz(3.9927, 2.2695, 11.2918)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371760 #406017
analogous
#171B60 #371760 #5B1760
triadic
#371760 #603717 #176037
tetradic
#371760 #60171B #406017 #17605B
square
#371760 #60171B #406017 #17605B
split-complementary
#371760 #605B17 #1B6017
monochromatic
#0E0619 #1B0B2F #371760 #532391 #702FC3

Accessibility & contrast

On white

14.44
#371760 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#371760 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371760
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371760#FFFFFF#000000##FFFFFF
##3717601.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A62
Deuteranopia (green-blind)
#00295F
Tritanopia (blue-blind)
#2D293A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #371760;
/* rgb */ color: rgb(55, 23, 96);
/* oklch */ color: oklch(29.7% 0.122 298.7);
Tailwind
colors: {
  custom: {
    50: '#72578e',
    500: '#371760',
    950: '#000000',
  },
}
SCSS
$custom: #371760;
$custom-light: #72578e;
$custom-dark: #000000;
JSON
{
  "hex": "#371760",
  "rgb": {
    "r": 55,
    "g": 23,
    "b": 96
  },
  "hsl": {
    "h": 266.301,
    "s": 61.345,
    "l": 23.333
  },
  "oklch": {
    "l": 0.29746,
    "c": 0.1216,
    "h": 298.7
  },
  "luminance": 0.0227
}

Semantic roles & 50–950 ramp

primary
#371760
secondary
#6F973C
accent
#E4439E
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #371760

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

Preview Lab → · Contrast checker → · Palette generator →

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