#391461#391461

#391461 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.7% C 0.127 H 300.6°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#391461
RGBrgb(57, 20, 97)
HSLhsl(269, 66%, 23%)
HSVhsv(269, 79%, 38%)
CMYKcmyk(41.2%, 79.4%, 0%, 62%)
CIE-LABlab(16.67, 34.47, -38.28)
CIE-LCHlch(16.67, 51.51, 312.01°)
OKLaboklab(29.71% 0.0646 -0.1093)
OKLCHoklch(29.71% 0.127 300.6)
XYZxyz(4.0946, 2.2332, 11.5223)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391461 #3C6114
analogous
#141661 #391461 #5F1461
triadic
#391461 #613914 #146139
tetradic
#391461 #611416 #3C6114 #14615F
square
#391461 #611416 #3C6114 #14615F
split-complementary
#391461 #615F14 #166114
monochromatic
#0F0519 #1B0A2E #391461 #571E94 #7529C6

Accessibility & contrast

On white

14.52
#391461 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#391461 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391461
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391461#FFFFFF#000000##FFFFFF
##3914611.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002963
Deuteranopia (green-blind)
#00295F
Tritanopia (blue-blind)
#302839
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #391461;
/* rgb */ color: rgb(57, 20, 97);
/* oklch */ color: oklch(29.7% 0.127 300.6);
Tailwind
colors: {
  custom: {
    50: '#74568f',
    500: '#391461',
    950: '#000000',
  },
}
SCSS
$custom: #391461;
$custom-light: #74568f;
$custom-dark: #000000;
JSON
{
  "hex": "#391461",
  "rgb": {
    "r": 57,
    "g": 20,
    "b": 97
  },
  "hsl": {
    "h": 268.831,
    "s": 65.812,
    "l": 22.941
  },
  "oklch": {
    "l": 0.29711,
    "c": 0.12696,
    "h": 300.6
  },
  "luminance": 0.02233
}

Semantic roles & 50–950 ramp

primary
#391461
secondary
#6A9838
accent
#E93F97
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #391461

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

Preview Lab → · Contrast checker → · Palette generator →

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