#371D67#371D67

#371D67 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.2% C 0.122 H 294.3°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#371D67
RGBrgb(55, 29, 103)
HSLhsl(261, 56%, 26%)
HSVhsv(261, 72%, 40%)
CMYKcmyk(46.6%, 71.8%, 0%, 59.6%)
CIE-LABlab(18.67, 30.93, -38.98)
CIE-LCHlch(18.67, 49.76, 308.43°)
OKLaboklab(31.24% 0.0504 -0.1115)
OKLCHoklch(31.24% 0.122 294.3)
XYZxyz(4.4624, 2.6701, 13.1096)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371D67 #4D671D
analogous
#1D2867 #371D67 #5C1D67
triadic
#371D67 #67371D #1D6737
tetradic
#371D67 #671D28 #4D671D #1D675C
square
#371D67 #671D28 #4D671D #1D675C
split-complementary
#371D67 #675C1D #28671D
monochromatic
#0D0718 #1D1037 #371D67 #502A97 #6A38C7

Accessibility & contrast

On white

13.69
#371D67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#371D67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371D67
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371D67#FFFFFF#000000##FFFFFF
##371D671.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E69
Deuteranopia (green-blind)
#002C65
Tritanopia (blue-blind)
#2A2F3F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #371d67;
/* rgb */ color: rgb(55, 29, 103);
/* oklch */ color: oklch(31.2% 0.122 294.3);
Tailwind
colors: {
  custom: {
    50: '#735b93',
    500: '#371d67',
    950: '#000000',
  },
}
SCSS
$custom: #371d67;
$custom-light: #735b93;
$custom-dark: #000000;
JSON
{
  "hex": "#371d67",
  "rgb": {
    "r": 55,
    "g": 29,
    "b": 103
  },
  "hsl": {
    "h": 261.081,
    "s": 56.061,
    "l": 25.882
  },
  "oklch": {
    "l": 0.31243,
    "c": 0.12234,
    "h": 294.3
  },
  "luminance": 0.0267
}

Semantic roles & 50–950 ramp

primary
#371D67
secondary
#7D9C44
accent
#DF48AA
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08040D
muted
#7B797E

Preview Lab

Preview with #371D67

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

Preview Lab → · Contrast checker → · Palette generator →

#371D67 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva