#371E64#371E64

#371E64 is a dark, moderate violet. Relative luminance 0.027; OKLCH L 31.1% C 0.117 H 295.1°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#371E64
RGBrgb(55, 30, 100)
HSLhsl(261, 54%, 25%)
HSVhsv(261, 70%, 39%)
CMYKcmyk(45%, 70%, 0%, 60.8%)
CIE-LABlab(18.63, 29.43, -37.08)
CIE-LCHlch(18.63, 47.34, 308.45°)
OKLaboklab(31.13% 0.0497 -0.1059)
OKLCHoklch(31.13% 0.117 295.1)
XYZxyz(4.3395, 2.6608, 12.3391)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371E64 #4B641E
analogous
#1E2864 #371E64 #5A1E64
triadic
#371E64 #64371E #1E6437
tetradic
#371E64 #641E28 #4B641E #1E645A
square
#371E64 #641E28 #4B641E #1E645A
split-complementary
#371E64 #645A1E #28641E
monochromatic
#0D0718 #1D1035 #371E64 #512C93 #6B3AC2

Accessibility & contrast

On white

13.71
#371E64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #371E64
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371E64#FFFFFF#000000##FFFFFF
##371E641.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E66
Deuteranopia (green-blind)
#002C63
Tritanopia (blue-blind)
#2B2F3E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #371e64;
/* rgb */ color: rgb(55, 30, 100);
/* oklch */ color: oklch(31.1% 0.117 295.1);
Tailwind
colors: {
  custom: {
    50: '#725b91',
    500: '#371e64',
    950: '#000000',
  },
}
SCSS
$custom: #371e64;
$custom-light: #725b91;
$custom-dark: #000000;
JSON
{
  "hex": "#371e64",
  "rgb": {
    "r": 55,
    "g": 30,
    "b": 100
  },
  "hsl": {
    "h": 261.429,
    "s": 53.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.31133,
    "c": 0.11697,
    "h": 295.1
  },
  "luminance": 0.02661
}

Semantic roles & 50–950 ramp

primary
#371E64
secondary
#7B9945
accent
#DD4BA9
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040D
muted
#7B797D

Preview Lab

Preview with #371E64

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

Preview Lab → · Contrast checker → · Palette generator →

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