#391261#391261

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

Color values

HEX#391261
RGBrgb(57, 18, 97)
HSLhsl(270, 69%, 23%)
HSVhsv(270, 81%, 38%)
CMYKcmyk(41.2%, 81.4%, 0%, 62%)
CIE-LABlab(16.33, 35.43, -38.82)
CIE-LCHlch(16.33, 52.56, 312.38°)
OKLaboklab(29.48% 0.0666 -0.1109)
OKLCHoklch(29.48% 0.129 301)
XYZxyz(4.0608, 2.1655, 11.5110)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391261 #3A6112
analogous
#121361 #391261 #601261
triadic
#391261 #613912 #126139
tetradic
#391261 #611213 #3A6112 #126160
square
#391261 #611213 #3A6112 #126160
split-complementary
#391261 #616012 #136112
monochromatic
#0F051A #1B082D #391261 #571C95 #7625C8

Accessibility & contrast

On white

14.65
#391261 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#391261 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391261
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391261#FFFFFF#000000##FFFFFF
##3912611.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002863
Deuteranopia (green-blind)
#00285F
Tritanopia (blue-blind)
#302739
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #391261;
/* rgb */ color: rgb(57, 18, 97);
/* oklch */ color: oklch(29.5% 0.129 301.0);
Tailwind
colors: {
  custom: {
    50: '#74558f',
    500: '#391261',
    950: '#000000',
  },
}
SCSS
$custom: #391261;
$custom-light: #74558f;
$custom-dark: #000000;
JSON
{
  "hex": "#391261",
  "rgb": {
    "r": 57,
    "g": 18,
    "b": 97
  },
  "hsl": {
    "h": 269.62,
    "s": 68.696,
    "l": 22.549
  },
  "oklch": {
    "l": 0.29477,
    "c": 0.12933,
    "h": 301
  },
  "luminance": 0.02166
}

Semantic roles & 50–950 ramp

primary
#391261
secondary
#689936
accent
#EC3C95
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #391261

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

Preview Lab → · Contrast checker → · Palette generator →

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