#371A63#371A63

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

Color values

HEX#371A63
RGBrgb(55, 26, 99)
HSLhsl(264, 58%, 25%)
HSVhsv(264, 74%, 39%)
CMYKcmyk(44.4%, 73.7%, 0%, 61.2%)
CIE-LABlab(17.70, 31.46, -37.93)
CIE-LCHlch(17.70, 49.28, 309.68°)
OKLaboklab(30.44% 0.0545 -0.1084)
OKLCHoklch(30.44% 0.121 296.7)
XYZxyz(4.1965, 2.4518, 12.0541)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371A63 #46631A
analogous
#1A2163 #371A63 #5C1A63
triadic
#371A63 #63371A #1A6337
tetradic
#371A63 #631A21 #46631A #1A635C
square
#371A63 #631A21 #46631A #1A635C
split-complementary
#371A63 #635C1A #21631A
monochromatic
#0D0618 #1C0D33 #371A63 #522793 #6D33C4

Accessibility & contrast

On white

14.09
#371A63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #371A63
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371A63#FFFFFF#000000##FFFFFF
##371A631.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C65
Deuteranopia (green-blind)
#002A62
Tritanopia (blue-blind)
#2C2C3C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #371a63;
/* rgb */ color: rgb(55, 26, 99);
/* oklch */ color: oklch(30.4% 0.121 296.7);
Tailwind
colors: {
  custom: {
    50: '#725990',
    500: '#371a63',
    950: '#000000',
  },
}
SCSS
$custom: #371a63;
$custom-light: #725990;
$custom-dark: #000000;
JSON
{
  "hex": "#371a63",
  "rgb": {
    "r": 55,
    "g": 26,
    "b": 99
  },
  "hsl": {
    "h": 263.836,
    "s": 58.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.30439,
    "c": 0.12132,
    "h": 296.7
  },
  "luminance": 0.02452
}

Semantic roles & 50–950 ramp

primary
#371A63
secondary
#769940
accent
#E246A4
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #371A63

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

Preview Lab → · Contrast checker → · Palette generator →

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