#391460#391460

#391460 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.6% C 0.126 H 301.0°. Best body text is #FFFFFF at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#391460
RGBrgb(57, 20, 96)
HSLhsl(269, 66%, 23%)
HSVhsv(269, 79%, 38%)
CMYKcmyk(40.6%, 79.2%, 0%, 62.4%)
CIE-LABlab(16.58, 34.20, -37.76)
CIE-LCHlch(16.58, 50.95, 312.17°)
OKLaboklab(29.62% 0.0649 -0.1078)
OKLCHoklch(29.62% 0.126 301)
XYZxyz(4.0483, 2.2147, 11.2783)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391460 #3B6014
analogous
#141560 #391460 #5F1460
triadic
#391460 #603914 #146039
tetradic
#391460 #601415 #3B6014 #14605F
square
#391460 #601415 #3B6014 #14605F
split-complementary
#391460 #605F14 #156014
monochromatic
#0F0519 #1B092D #391460 #571F93 #7529C5

Accessibility & contrast

On white

14.55
#391460 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#391460 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391460
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391460#FFFFFF#000000##FFFFFF
##3914601.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002962
Deuteranopia (green-blind)
#00295E
Tritanopia (blue-blind)
#302739
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #391460;
/* rgb */ color: rgb(57, 20, 96);
/* oklch */ color: oklch(29.6% 0.126 301.0);
Tailwind
colors: {
  custom: {
    50: '#74568e',
    500: '#391460',
    950: '#000000',
  },
}
SCSS
$custom: #391460;
$custom-light: #74568e;
$custom-dark: #000000;
JSON
{
  "hex": "#391460",
  "rgb": {
    "r": 57,
    "g": 20,
    "b": 96
  },
  "hsl": {
    "h": 269.211,
    "s": 65.517,
    "l": 22.745
  },
  "oklch": {
    "l": 0.29619,
    "c": 0.12579,
    "h": 301
  },
  "luminance": 0.02215
}

Semantic roles & 50–950 ramp

primary
#391460
secondary
#699838
accent
#E83F96
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #391460

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

Preview Lab → · Contrast checker → · Palette generator →

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