#371861#371861

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

Color values

HEX#371861
RGBrgb(55, 24, 97)
HSLhsl(265, 60%, 24%)
HSVhsv(265, 75%, 38%)
CMYKcmyk(43.3%, 75.3%, 0%, 62%)
CIE-LABlab(17.12, 31.99, -37.54)
CIE-LCHlch(17.12, 49.33, 310.44°)
OKLaboklab(29.97% 0.0571 -0.1072)
OKLCHoklch(29.97% 0.122 298)
XYZxyz(4.0593, 2.3285, 11.5425)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371861 #426118
analogous
#181D61 #371861 #5B1861
triadic
#371861 #613718 #186137
tetradic
#371861 #61181D #426118 #18615B
square
#371861 #61181D #426118 #18615B
split-complementary
#371861 #615B18 #1D6118
monochromatic
#0E0619 #1B0C30 #371861 #532492 #6F30C3

Accessibility & contrast

On white

14.33
#371861 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #371861
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371861#FFFFFF#000000##FFFFFF
##3718611.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #371861;
/* rgb */ color: rgb(55, 24, 97);
/* oklch */ color: oklch(30.0% 0.122 298.0);
Tailwind
colors: {
  custom: {
    50: '#72588f',
    500: '#371861',
    950: '#000000',
  },
}
SCSS
$custom: #371861;
$custom-light: #72588f;
$custom-dark: #000000;
JSON
{
  "hex": "#371861",
  "rgb": {
    "r": 55,
    "g": 24,
    "b": 97
  },
  "hsl": {
    "h": 265.479,
    "s": 60.331,
    "l": 23.725
  },
  "oklch": {
    "l": 0.29974,
    "c": 0.12151,
    "h": 298
  },
  "luminance": 0.02329
}

Semantic roles & 50–950 ramp

primary
#371861
secondary
#71973D
accent
#E344A0
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #371861

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

Preview Lab → · Contrast checker → · Palette generator →

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