#371767#371767

#371767 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.4% C 0.130 H 295.9°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#371767
RGBrgb(55, 23, 103)
HSLhsl(264, 63%, 25%)
HSVhsv(264, 78%, 40%)
CMYKcmyk(46.6%, 77.7%, 0%, 59.6%)
CIE-LABlab(17.48, 34.26, -40.92)
CIE-LCHlch(17.48, 53.37, 309.93°)
OKLaboklab(30.4% 0.0568 -0.1172)
OKLCHoklch(30.4% 0.13 295.9)
XYZxyz(4.3295, 2.4042, 13.0653)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371767 #476717
analogous
#171F67 #371767 #5F1767
triadic
#371767 #673717 #176737
tetradic
#371767 #67171F #476717 #17675F
square
#371767 #67171F #476717 #17675F
split-complementary
#371767 #675F17 #1F6717
monochromatic
#0D0619 #1C0C35 #371767 #522299 #6C2DCB

Accessibility & contrast

On white

14.18
#371767 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#371767 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371767
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371767#FFFFFF#000000##FFFFFF
##3717671.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B69
Deuteranopia (green-blind)
#002A65
Tritanopia (blue-blind)
#2A2C3D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #371767;
/* rgb */ color: rgb(55, 23, 103);
/* oklch */ color: oklch(30.4% 0.130 295.9);
Tailwind
colors: {
  custom: {
    50: '#735793',
    500: '#371767',
    950: '#000000',
  },
}
SCSS
$custom: #371767;
$custom-light: #735793;
$custom-dark: #000000;
JSON
{
  "hex": "#371767",
  "rgb": {
    "r": 55,
    "g": 23,
    "b": 103
  },
  "hsl": {
    "h": 264,
    "s": 63.492,
    "l": 24.706
  },
  "oklch": {
    "l": 0.30395,
    "c": 0.13021,
    "h": 295.9
  },
  "luminance": 0.02404
}

Semantic roles & 50–950 ramp

primary
#371767
secondary
#779D3D
accent
#E741A4
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #371767

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

Preview Lab → · Contrast checker → · Palette generator →

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