#371B60#371B60

#371B60 is a dark, moderate violet. Relative luminance 0.024; OKLCH L 30.3% C 0.116 H 297.7°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#371B60
RGBrgb(55, 27, 96)
HSLhsl(264, 56%, 24%)
HSVhsv(264, 72%, 38%)
CMYKcmyk(42.7%, 71.9%, 0%, 62.4%)
CIE-LABlab(17.65, 30.01, -36.03)
CIE-LCHlch(17.65, 46.89, 309.79°)
OKLaboklab(30.32% 0.0539 -0.1028)
OKLCHoklch(30.32% 0.116 297.7)
XYZxyz(4.0783, 2.4406, 11.3203)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371B60 #44601B
analogous
#1B2260 #371B60 #5A1B60
triadic
#371B60 #60371B #1B6037
tetradic
#371B60 #601B22 #44601B #1B605A
square
#371B60 #601B22 #44601B #1B605A
split-complementary
#371B60 #605A1B #22601B
monochromatic
#0E0718 #1C0E30 #371B60 #522890 #6E36C0

Accessibility & contrast

On white

14.11
#371B60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#371B60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371B60
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371B60#FFFFFF#000000##FFFFFF
##371B601.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B62
Deuteranopia (green-blind)
#002A5F
Tritanopia (blue-blind)
#2D2B3B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #371b60;
/* rgb */ color: rgb(55, 27, 96);
/* oklch */ color: oklch(30.3% 0.116 297.7);
Tailwind
colors: {
  custom: {
    50: '#72598e',
    500: '#371b60',
    950: '#000000',
  },
}
SCSS
$custom: #371b60;
$custom-light: #72598e;
$custom-dark: #000000;
JSON
{
  "hex": "#371b60",
  "rgb": {
    "r": 55,
    "g": 27,
    "b": 96
  },
  "hsl": {
    "h": 264.348,
    "s": 56.098,
    "l": 24.118
  },
  "oklch": {
    "l": 0.30321,
    "c": 0.11605,
    "h": 297.7
  },
  "luminance": 0.02441
}

Semantic roles & 50–950 ramp

primary
#371B60
secondary
#739641
accent
#DF48A2
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #371B60

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

Preview Lab → · Contrast checker → · Palette generator →

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