#371761#371761

#371761 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.8% C 0.123 H 298.3°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#371761
RGBrgb(55, 23, 97)
HSLhsl(266, 62%, 24%)
HSVhsv(266, 76%, 38%)
CMYKcmyk(43.3%, 76.3%, 0%, 62%)
CIE-LABlab(16.93, 32.54, -37.86)
CIE-LCHlch(16.93, 49.92, 310.68°)
OKLaboklab(29.84% 0.0582 -0.1082)
OKLCHoklch(29.84% 0.123 298.3)
XYZxyz(4.0391, 2.2880, 11.5358)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371761 #416117
analogous
#171C61 #371761 #5C1761
triadic
#371761 #613717 #176137
tetradic
#371761 #61171C #416117 #17615C
square
#371761 #61171C #416117 #17615C
split-complementary
#371761 #615C17 #1C6117
monochromatic
#0E0619 #1B0B30 #371761 #532392 #6F2EC4

Accessibility & contrast

On white

14.41
#371761 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#371761 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371761
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371761#FFFFFF#000000##FFFFFF
##3717611.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A63
Deuteranopia (green-blind)
#002960
Tritanopia (blue-blind)
#2D293A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #371761;
/* rgb */ color: rgb(55, 23, 97);
/* oklch */ color: oklch(29.8% 0.123 298.3);
Tailwind
colors: {
  custom: {
    50: '#72578f',
    500: '#371761',
    950: '#000000',
  },
}
SCSS
$custom: #371761;
$custom-light: #72578f;
$custom-dark: #000000;
JSON
{
  "hex": "#371761",
  "rgb": {
    "r": 55,
    "g": 23,
    "b": 97
  },
  "hsl": {
    "h": 265.946,
    "s": 61.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.29837,
    "c": 0.12284,
    "h": 298.3
  },
  "luminance": 0.02288
}

Semantic roles & 50–950 ramp

primary
#371761
secondary
#70983C
accent
#E5439F
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #371761

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

Preview Lab → · Contrast checker → · Palette generator →

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