#371B64#371B64

#371B64 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.7% C 0.121 H 296.0°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#371B64
RGBrgb(55, 27, 100)
HSLhsl(263, 57%, 25%)
HSVhsv(263, 73%, 39%)
CMYKcmyk(45%, 73%, 0%, 60.8%)
CIE-LABlab(17.99, 31.19, -38.12)
CIE-LCHlch(17.99, 49.25, 309.30°)
OKLaboklab(30.68% 0.0532 -0.1089)
OKLCHoklch(30.68% 0.121 296)
XYZxyz(4.2671, 2.5161, 12.3150)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371B64 #48641B
analogous
#1B2364 #371B64 #5C1B64
triadic
#371B64 #64371B #1B6437
tetradic
#371B64 #641B23 #48641B #1B645C
square
#371B64 #641B23 #48641B #1B645C
split-complementary
#371B64 #645C1B #23641B
monochromatic
#0D0718 #1C0E34 #371B64 #522894 #6C35C4

Accessibility & contrast

On white

13.97
#371B64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #371B64
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371B64#FFFFFF#000000##FFFFFF
##371B641.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C66
Deuteranopia (green-blind)
#002B63
Tritanopia (blue-blind)
#2B2D3D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #371b64;
/* rgb */ color: rgb(55, 27, 100);
/* oklch */ color: oklch(30.7% 0.121 296.0);
Tailwind
colors: {
  custom: {
    50: '#725a91',
    500: '#371b64',
    950: '#000000',
  },
}
SCSS
$custom: #371b64;
$custom-light: #725a91;
$custom-dark: #000000;
JSON
{
  "hex": "#371b64",
  "rgb": {
    "r": 55,
    "g": 27,
    "b": 100
  },
  "hsl": {
    "h": 263.014,
    "s": 57.48,
    "l": 24.902
  },
  "oklch": {
    "l": 0.30675,
    "c": 0.12122,
    "h": 296
  },
  "luminance": 0.02516
}

Semantic roles & 50–950 ramp

primary
#371B64
secondary
#789941
accent
#E147A6
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040D
muted
#7B797D

Preview Lab

Preview with #371B64

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

Preview Lab → · Contrast checker → · Palette generator →

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