#371C63#371C63

#371C63 is a dark, moderate violet. Relative luminance 0.025; OKLCH L 30.7% C 0.119 H 296.1°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#371C63
RGBrgb(55, 28, 99)
HSLhsl(263, 56%, 25%)
HSVhsv(263, 72%, 39%)
CMYKcmyk(44.4%, 71.7%, 0%, 61.2%)
CIE-LABlab(18.11, 30.32, -37.26)
CIE-LCHlch(18.11, 48.03, 309.14°)
OKLaboklab(30.74% 0.0522 -0.1064)
OKLCHoklch(30.74% 0.119 296.1)
XYZxyz(4.2423, 2.5435, 12.0694)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371C63 #48631C
analogous
#1C2463 #371C63 #5B1C63
triadic
#371C63 #63371C #1C6337
tetradic
#371C63 #631C24 #48631C #1C635B
square
#371C63 #631C24 #48631C #1C635B
split-complementary
#371C63 #635B1C #24631C
monochromatic
#0D0718 #1C0F33 #371C63 #522993 #6C37C2

Accessibility & contrast

On white

13.92
#371C63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #371C63
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371C63#FFFFFF#000000##FFFFFF
##371C631.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D65
Deuteranopia (green-blind)
#002B62
Tritanopia (blue-blind)
#2C2D3D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #371c63;
/* rgb */ color: rgb(55, 28, 99);
/* oklch */ color: oklch(30.7% 0.119 296.1);
Tailwind
colors: {
  custom: {
    50: '#725a90',
    500: '#371c63',
    950: '#000000',
  },
}
SCSS
$custom: #371c63;
$custom-light: #725a90;
$custom-dark: #000000;
JSON
{
  "hex": "#371c63",
  "rgb": {
    "r": 55,
    "g": 28,
    "b": 99
  },
  "hsl": {
    "h": 262.817,
    "s": 55.906,
    "l": 24.902
  },
  "oklch": {
    "l": 0.30735,
    "c": 0.11853,
    "h": 296.1
  },
  "luminance": 0.02544
}

Semantic roles & 50–950 ramp

primary
#371C63
secondary
#789843
accent
#DF49A6
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #371C63

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

Preview Lab → · Contrast checker → · Palette generator →

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