#371D60#371D60

#371D60 is a dark, moderate violet. Relative luminance 0.025; OKLCH L 30.6% C 0.113 H 297.0°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#371D60
RGBrgb(55, 29, 96)
HSLhsl(263, 54%, 25%)
HSVhsv(263, 70%, 38%)
CMYKcmyk(42.7%, 69.8%, 0%, 62.4%)
CIE-LABlab(18.08, 28.83, -35.33)
CIE-LCHlch(18.08, 45.60, 309.22°)
OKLaboklab(30.63% 0.0514 -0.1008)
OKLCHoklch(30.63% 0.113 297)
XYZxyz(4.1257, 2.5354, 11.3361)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371D60 #46601D
analogous
#1D2460 #371D60 #591D60
triadic
#371D60 #60371D #1D6037
tetradic
#371D60 #601D24 #46601D #1D6059
square
#371D60 #601D24 #46601D #1D6059
split-complementary
#371D60 #60591D #24601D
monochromatic
#0D0718 #1C0F31 #371D60 #522B8F #6D39BE

Accessibility & contrast

On white

13.93
#371D60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#371D60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371D60
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371D60#FFFFFF#000000##FFFFFF
##371D601.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C62
Deuteranopia (green-blind)
#002B5F
Tritanopia (blue-blind)
#2D2C3B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #371d60;
/* rgb */ color: rgb(55, 29, 96);
/* oklch */ color: oklch(30.6% 0.113 297.0);
Tailwind
colors: {
  custom: {
    50: '#725b8e',
    500: '#371d60',
    950: '#000000',
  },
}
SCSS
$custom: #371d60;
$custom-light: #725b8e;
$custom-dark: #000000;
JSON
{
  "hex": "#371d60",
  "rgb": {
    "r": 55,
    "g": 29,
    "b": 96
  },
  "hsl": {
    "h": 263.284,
    "s": 53.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.3063,
    "c": 0.11313,
    "h": 297
  },
  "luminance": 0.02535
}

Semantic roles & 50–950 ramp

primary
#371D60
secondary
#769544
accent
#DD4BA4
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #371D60

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

Preview Lab → · Contrast checker → · Palette generator →

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