#391D63#391D63

#391D63 is a dark, moderate violet. Relative luminance 0.026; OKLCH L 31.1% C 0.117 H 297.5°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#391D63
RGBrgb(57, 29, 99)
HSLhsl(264, 55%, 25%)
HSVhsv(264, 71%, 39%)
CMYKcmyk(42.4%, 70.7%, 0%, 61.2%)
CIE-LABlab(18.58, 30.18, -36.49)
CIE-LCHlch(18.58, 47.35, 309.60°)
OKLaboklab(31.13% 0.0542 -0.1041)
OKLCHoklch(31.13% 0.117 297.5)
XYZxyz(4.3783, 2.6494, 12.0827)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391D63 #47631D
analogous
#1D2463 #391D63 #5C1D63
triadic
#391D63 #63391D #1D6339
tetradic
#391D63 #631D24 #47631D #1D635C
square
#391D63 #631D24 #47631D #1D635C
split-complementary
#391D63 #635C1D #24631D
monochromatic
#0E0718 #1E0F34 #391D63 #542B92 #7039C2

Accessibility & contrast

On white

13.73
#391D63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#391D63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391D63
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391D63#FFFFFF#000000##FFFFFF
##391D631.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D65
Deuteranopia (green-blind)
#002C62
Tritanopia (blue-blind)
#2F2D3D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #391d63;
/* rgb */ color: rgb(57, 29, 99);
/* oklch */ color: oklch(31.1% 0.117 297.5);
Tailwind
colors: {
  custom: {
    50: '#735b90',
    500: '#391d63',
    950: '#000000',
  },
}
SCSS
$custom: #391d63;
$custom-light: #735b90;
$custom-dark: #000000;
JSON
{
  "hex": "#391d63",
  "rgb": {
    "r": 57,
    "g": 29,
    "b": 99
  },
  "hsl": {
    "h": 264,
    "s": 54.688,
    "l": 25.098
  },
  "oklch": {
    "l": 0.31128,
    "c": 0.11732,
    "h": 297.5
  },
  "luminance": 0.02649
}

Semantic roles & 50–950 ramp

primary
#391D63
secondary
#769844
accent
#DE4AA3
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #391D63

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

Preview Lab → · Contrast checker → · Palette generator →

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