#371E66#371E66

#371E66 is a dark, moderate violet. Relative luminance 0.027; OKLCH L 31.3% C 0.120 H 294.4°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#371E66
RGBrgb(55, 30, 102)
HSLhsl(261, 55%, 26%)
HSVhsv(261, 71%, 40%)
CMYKcmyk(46.1%, 70.6%, 0%, 60%)
CIE-LABlab(18.80, 30.04, -38.11)
CIE-LCHlch(18.80, 48.53, 308.24°)
OKLaboklab(31.31% 0.0494 -0.1089)
OKLCHoklch(31.31% 0.12 294.4)
XYZxyz(4.4374, 2.7000, 12.8551)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371E66 #4D661E
analogous
#1E2966 #371E66 #5B1E66
triadic
#371E66 #66371E #1E6637
tetradic
#371E66 #661E29 #4D661E #1E665B
square
#371E66 #661E29 #4D661E #1E665B
split-complementary
#371E66 #665B1E #29661E
monochromatic
#0D0718 #1D1037 #371E66 #502C95 #6A3AC5

Accessibility & contrast

On white

13.64
#371E66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#371E66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371E66
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371E66#FFFFFF#000000##FFFFFF
##371E661.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E68
Deuteranopia (green-blind)
#002D65
Tritanopia (blue-blind)
#2A2F3F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #371e66;
/* rgb */ color: rgb(55, 30, 102);
/* oklch */ color: oklch(31.3% 0.120 294.4);
Tailwind
colors: {
  custom: {
    50: '#725c92',
    500: '#371e66',
    950: '#000000',
  },
}
SCSS
$custom: #371e66;
$custom-light: #725c92;
$custom-dark: #000000;
JSON
{
  "hex": "#371e66",
  "rgb": {
    "r": 55,
    "g": 30,
    "b": 102
  },
  "hsl": {
    "h": 260.833,
    "s": 54.545,
    "l": 25.882
  },
  "oklch": {
    "l": 0.31308,
    "c": 0.11962,
    "h": 294.4
  },
  "luminance": 0.027
}

Semantic roles & 50–950 ramp

primary
#371E66
secondary
#7D9B45
accent
#DE4AAB
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08040D
muted
#7B797E

Preview Lab

Preview with #371E66

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

Preview Lab → · Contrast checker → · Palette generator →

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