#391259#391259

#391259 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.7% C 0.120 H 304.8°. Best body text is #FFFFFF at 14.95:1 contrast (WCAG AA passes).

Color values

HEX#391259
RGBrgb(57, 18, 89)
HSLhsl(273, 66%, 21%)
HSVhsv(273, 80%, 35%)
CMYKcmyk(36%, 79.8%, 0%, 65.1%)
CIE-LABlab(15.61, 33.30, -34.65)
CIE-LCHlch(15.61, 48.06, 313.86°)
OKLaboklab(28.74% 0.0686 -0.0986)
OKLCHoklch(28.74% 0.12 304.8)
XYZxyz(3.7064, 2.0238, 9.6446)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391259 #325912
analogous
#151259 #391259 #591255
triadic
#391259 #593912 #125939
tetradic
#391259 #591512 #325912 #125559
square
#391259 #591512 #325912 #125559
split-complementary
#391259 #555912 #125915
monochromatic
#100519 #180826 #391259 #5A1C8C #7A27BF

Accessibility & contrast

On white

14.95
#391259 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#391259 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391259
14.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391259#FFFFFF#000000##FFFFFF
##3912591.0014.951.4014.95
#FFFFFF14.951.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265B
Deuteranopia (green-blind)
#002758
Tritanopia (blue-blind)
#332334
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #391259;
/* rgb */ color: rgb(57, 18, 89);
/* oklch */ color: oklch(28.7% 0.120 304.8);
Tailwind
colors: {
  custom: {
    50: '#735488',
    500: '#391259',
    950: '#000000',
  },
}
SCSS
$custom: #391259;
$custom-light: #735488;
$custom-dark: #000000;
JSON
{
  "hex": "#391259",
  "rgb": {
    "r": 57,
    "g": 18,
    "b": 89
  },
  "hsl": {
    "h": 272.958,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.28745,
    "c": 0.12016,
    "h": 304.8
  },
  "luminance": 0.02024
}

Semantic roles & 50–950 ramp

primary
#391259
secondary
#5F9235
accent
#E93F8B
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030B
muted
#7B787C

Preview Lab

Preview with #391259

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

Preview Lab → · Contrast checker → · Palette generator →

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