#391964#391964

#391964 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.6% C 0.124 H 298.2°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#391964
RGBrgb(57, 25, 100)
HSLhsl(266, 60%, 25%)
HSVhsv(266, 75%, 39%)
CMYKcmyk(43%, 75%, 0%, 60.8%)
CIE-LABlab(17.85, 32.73, -38.33)
CIE-LCHlch(17.85, 50.40, 310.49°)
OKLaboklab(30.63% 0.0586 -0.1095)
OKLCHoklch(30.63% 0.124 298.2)
XYZxyz(4.3346, 2.4852, 12.3054)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391964 #446419
analogous
#191F64 #391964 #5F1964
triadic
#391964 #643919 #196439
tetradic
#391964 #64191F #446419 #19645F
square
#391964 #64191F #446419 #19645F
split-complementary
#391964 #645F19 #1F6419
monochromatic
#0E0618 #1D0D33 #391964 #552595 #7131C6

Accessibility & contrast

On white

14.03
#391964 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#391964 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391964
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391964#FFFFFF#000000##FFFFFF
##3919641.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #391964;
/* rgb */ color: rgb(57, 25, 100);
/* oklch */ color: oklch(30.6% 0.124 298.2);
Tailwind
colors: {
  custom: {
    50: '#745991',
    500: '#391964',
    950: '#000000',
  },
}
SCSS
$custom: #391964;
$custom-light: #745991;
$custom-dark: #000000;
JSON
{
  "hex": "#391964",
  "rgb": {
    "r": 57,
    "g": 25,
    "b": 100
  },
  "hsl": {
    "h": 265.6,
    "s": 60,
    "l": 24.51
  },
  "oklch": {
    "l": 0.30634,
    "c": 0.12419,
    "h": 298.2
  },
  "luminance": 0.02485
}

Semantic roles & 50–950 ramp

primary
#391964
secondary
#739A3F
accent
#E345A0
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030D
muted
#7B787D

Preview Lab

Preview with #391964

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

Preview Lab → · Contrast checker → · Palette generator →

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