#391A63#391A63

#391A63 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.7% C 0.122 H 298.3°. Best body text is #FFFFFF at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#391A63
RGBrgb(57, 26, 99)
HSLhsl(265, 58%, 25%)
HSVhsv(265, 74%, 39%)
CMYKcmyk(42.4%, 73.7%, 0%, 61.2%)
CIE-LABlab(17.96, 31.89, -37.49)
CIE-LCHlch(17.96, 49.22, 310.38°)
OKLaboklab(30.69% 0.0577 -0.107)
OKLCHoklch(30.69% 0.122 298.3)
XYZxyz(4.3083, 2.5094, 12.0593)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391A63 #44631A
analogous
#1A2063 #391A63 #5E1A63
triadic
#391A63 #63391A #1A6339
tetradic
#391A63 #631A20 #44631A #1A635E
square
#391A63 #631A20 #44631A #1A635E
split-complementary
#391A63 #635E1A #20631A
monochromatic
#0E0618 #1D0D33 #391A63 #552793 #7133C4

Accessibility & contrast

On white

13.98
#391A63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#391A63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391A63
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391A63#FFFFFF#000000##FFFFFF
##391A631.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C65
Deuteranopia (green-blind)
#002B62
Tritanopia (blue-blind)
#2F2C3C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #391a63;
/* rgb */ color: rgb(57, 26, 99);
/* oklch */ color: oklch(30.7% 0.122 298.3);
Tailwind
colors: {
  custom: {
    50: '#745990',
    500: '#391a63',
    950: '#000000',
  },
}
SCSS
$custom: #391a63;
$custom-light: #745990;
$custom-dark: #000000;
JSON
{
  "hex": "#391a63",
  "rgb": {
    "r": 57,
    "g": 26,
    "b": 99
  },
  "hsl": {
    "h": 265.479,
    "s": 58.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.30685,
    "c": 0.12158,
    "h": 298.3
  },
  "luminance": 0.02509
}

Semantic roles & 50–950 ramp

primary
#391A63
secondary
#739940
accent
#E246A0
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #391A63

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

Preview Lab → · Contrast checker → · Palette generator →

#391A63 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva