#371E68#371E68

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

Color values

HEX#371E68
RGBrgb(55, 30, 104)
HSLhsl(260, 55%, 26%)
HSVhsv(260, 71%, 41%)
CMYKcmyk(47.1%, 71.2%, 0%, 59.2%)
CIE-LABlab(18.97, 30.65, -39.15)
CIE-LCHlch(18.97, 49.72, 308.06°)
OKLaboklab(31.49% 0.0491 -0.112)
OKLCHoklch(31.49% 0.122 293.7)
XYZxyz(4.5378, 2.7401, 13.3838)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371E68 #4F681E
analogous
#1E2A68 #371E68 #5C1E68
triadic
#371E68 #68371E #1E6837
tetradic
#371E68 #681E2A #4F681E #1E685C
square
#371E68 #681E2A #4F681E #1E685C
split-complementary
#371E68 #685C1E #2A681E
monochromatic
#0D0718 #1E1039 #371E68 #502C98 #693AC6

Accessibility & contrast

On white

13.57
#371E68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#371E68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371E68
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371E68#FFFFFF#000000##FFFFFF
##371E681.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6A
Deuteranopia (green-blind)
#002D66
Tritanopia (blue-blind)
#293040
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #371e68;
/* rgb */ color: rgb(55, 30, 104);
/* oklch */ color: oklch(31.5% 0.122 293.7);
Tailwind
colors: {
  custom: {
    50: '#735c94',
    500: '#371e68',
    950: '#000000',
  },
}
SCSS
$custom: #371e68;
$custom-light: #735c94;
$custom-dark: #000000;
JSON
{
  "hex": "#371e68",
  "rgb": {
    "r": 55,
    "g": 30,
    "b": 104
  },
  "hsl": {
    "h": 260.27,
    "s": 55.224,
    "l": 26.275
  },
  "oklch": {
    "l": 0.31485,
    "c": 0.12226,
    "h": 293.7
  },
  "luminance": 0.0274
}

Semantic roles & 50–950 ramp

primary
#371E68
secondary
#7F9D45
accent
#DF49AC
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08040D
muted
#7B797E

Preview Lab

Preview with #371E68

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

Preview Lab → · Contrast checker → · Palette generator →

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