#371964#371964

#371964 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.4% C 0.124 H 296.6°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#371964
RGBrgb(55, 25, 100)
HSLhsl(264, 60%, 25%)
HSVhsv(264, 75%, 39%)
CMYKcmyk(45%, 75%, 0%, 60.8%)
CIE-LABlab(17.59, 32.31, -38.77)
CIE-LCHlch(17.59, 50.47, 309.81°)
OKLaboklab(30.39% 0.0554 -0.1109)
OKLCHoklch(30.39% 0.124 296.6)
XYZxyz(4.2228, 2.4275, 12.3002)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371964 #466419
analogous
#192164 #371964 #5D1964
triadic
#371964 #643719 #196437
tetradic
#371964 #641921 #466419 #19645D
square
#371964 #641921 #466419 #19645D
split-complementary
#371964 #645D19 #216419
monochromatic
#0D0618 #1C0D33 #371964 #522595 #6D31C6

Accessibility & contrast

On white

14.14
#371964 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#371964 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371964
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371964#FFFFFF#000000##FFFFFF
##3719641.0014.141.4914.14
#FFFFFF14.141.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #371964;
/* rgb */ color: rgb(55, 25, 100);
/* oklch */ color: oklch(30.4% 0.124 296.6);
Tailwind
colors: {
  custom: {
    50: '#735891',
    500: '#371964',
    950: '#000000',
  },
}
SCSS
$custom: #371964;
$custom-light: #735891;
$custom-dark: #000000;
JSON
{
  "hex": "#371964",
  "rgb": {
    "r": 55,
    "g": 25,
    "b": 100
  },
  "hsl": {
    "h": 264,
    "s": 60,
    "l": 24.51
  },
  "oklch": {
    "l": 0.30387,
    "c": 0.12394,
    "h": 296.6
  },
  "luminance": 0.02428
}

Semantic roles & 50–950 ramp

primary
#371964
secondary
#769A3F
accent
#E345A4
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #371964

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

Preview Lab → · Contrast checker → · Palette generator →

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