#371963#371963

#371963 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.3% C 0.123 H 297.0°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#371963
RGBrgb(55, 25, 99)
HSLhsl(264, 60%, 24%)
HSVhsv(264, 75%, 39%)
CMYKcmyk(44.4%, 74.7%, 0%, 61.2%)
CIE-LABlab(17.50, 32.02, -38.26)
CIE-LCHlch(17.50, 49.89, 309.93°)
OKLaboklab(30.3% 0.0556 -0.1093)
OKLCHoklch(30.3% 0.123 297)
XYZxyz(4.1747, 2.4083, 12.0469)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371963 #456319
analogous
#192063 #371963 #5C1963
triadic
#371963 #633719 #196337
tetradic
#371963 #631920 #456319 #19635C
square
#371963 #631920 #456319 #19635C
split-complementary
#371963 #635C19 #206319
monochromatic
#0E0618 #1C0D32 #371963 #522594 #6D32C5

Accessibility & contrast

On white

14.17
#371963 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#371963 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371963
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371963#FFFFFF#000000##FFFFFF
##3719631.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #371963;
/* rgb */ color: rgb(55, 25, 99);
/* oklch */ color: oklch(30.3% 0.123 297.0);
Tailwind
colors: {
  custom: {
    50: '#725890',
    500: '#371963',
    950: '#000000',
  },
}
SCSS
$custom: #371963;
$custom-light: #725890;
$custom-dark: #000000;
JSON
{
  "hex": "#371963",
  "rgb": {
    "r": 55,
    "g": 25,
    "b": 99
  },
  "hsl": {
    "h": 264.324,
    "s": 59.677,
    "l": 24.314
  },
  "oklch": {
    "l": 0.30296,
    "c": 0.12267,
    "h": 297
  },
  "luminance": 0.02408
}

Semantic roles & 50–950 ramp

primary
#371963
secondary
#74993F
accent
#E345A3
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #371963

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

Preview Lab → · Contrast checker → · Palette generator →

#371963 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva