#371D5E#371D5E

#371D5E is a dark, moderate violet. Relative luminance 0.025; OKLCH L 30.5% C 0.110 H 297.9°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#371D5E
RGBrgb(55, 29, 94)
HSLhsl(264, 53%, 24%)
HSVhsv(264, 69%, 37%)
CMYKcmyk(41.5%, 69.1%, 0%, 63.1%)
CIE-LABlab(17.91, 28.24, -34.27)
CIE-LCHlch(17.91, 44.41, 309.49°)
OKLaboklab(30.46% 0.0517 -0.0976)
OKLCHoklch(30.46% 0.11 297.9)
XYZxyz(4.0348, 2.4990, 10.8573)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371D5E #445E1D
analogous
#1D245E #371D5E #581D5E
triadic
#371D5E #5E371D #1D5E37
tetradic
#371D5E #5E1D24 #445E1D #1D5E58
square
#371D5E #5E1D24 #445E1D #1D5E58
split-complementary
#371D5E #5E581D #245E1D
monochromatic
#0E0717 #1C0F2F #371D5E #522B8D #6E3ABC

Accessibility & contrast

On white

14.00
#371D5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#371D5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371D5E
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371D5E#FFFFFF#000000##FFFFFF
##371D5E1.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C60
Deuteranopia (green-blind)
#002B5D
Tritanopia (blue-blind)
#2E2C3A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #371d5e;
/* rgb */ color: rgb(55, 29, 94);
/* oklch */ color: oklch(30.5% 0.110 297.9);
Tailwind
colors: {
  custom: {
    50: '#715b8c',
    500: '#371d5e',
    950: '#000000',
  },
}
SCSS
$custom: #371d5e;
$custom-light: #715b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#371d5e",
  "rgb": {
    "r": 55,
    "g": 29,
    "b": 94
  },
  "hsl": {
    "h": 264,
    "s": 52.846,
    "l": 24.118
  },
  "oklch": {
    "l": 0.3046,
    "c": 0.11046,
    "h": 297.9
  },
  "luminance": 0.02499
}

Semantic roles & 50–950 ramp

primary
#371D5E
secondary
#739344
accent
#DC4CA2
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #371D5E

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

Preview Lab → · Contrast checker → · Palette generator →

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