#391960#391960

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

Color values

HEX#391960
RGBrgb(57, 25, 96)
HSLhsl(267, 59%, 24%)
HSVhsv(267, 74%, 38%)
CMYKcmyk(40.6%, 74%, 0%, 62.4%)
CIE-LABlab(17.50, 31.59, -36.25)
CIE-LCHlch(17.50, 48.08, 311.07°)
OKLaboklab(30.28% 0.0594 -0.1034)
OKLCHoklch(30.28% 0.119 299.9)
XYZxyz(4.1458, 2.4096, 11.3107)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391960 #406019
analogous
#191C60 #391960 #5C1960
triadic
#391960 #603919 #196039
tetradic
#391960 #60191C #406019 #19605C
square
#391960 #60191C #406019 #19605C
split-complementary
#391960 #605C19 #1C6019
monochromatic
#0E0618 #1C0C2F #391960 #562691 #7332C1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##391960#FFFFFF#000000##FFFFFF
##3919601.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)
#002B62
Deuteranopia (green-blind)
#002A5F
Tritanopia (blue-blind)
#302A3A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #391960;
/* rgb */ color: rgb(57, 25, 96);
/* oklch */ color: oklch(30.3% 0.119 299.9);
Tailwind
colors: {
  custom: {
    50: '#73588e',
    500: '#391960',
    950: '#000000',
  },
}
SCSS
$custom: #391960;
$custom-light: #73588e;
$custom-dark: #000000;
JSON
{
  "hex": "#391960",
  "rgb": {
    "r": 57,
    "g": 25,
    "b": 96
  },
  "hsl": {
    "h": 267.042,
    "s": 58.678,
    "l": 23.725
  },
  "oklch": {
    "l": 0.30278,
    "c": 0.1192,
    "h": 299.9
  },
  "luminance": 0.0241
}

Semantic roles & 50–950 ramp

primary
#391960
secondary
#6F963F
accent
#E2469C
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #391960

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

Preview Lab → · Contrast checker → · Palette generator →

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