#391E63#391E63

#391E63 is a dark, moderate violet. Relative luminance 0.027; OKLCH L 31.3% C 0.116 H 297.2°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#391E63
RGBrgb(57, 30, 99)
HSLhsl(263, 53%, 25%)
HSVhsv(263, 70%, 39%)
CMYKcmyk(42.4%, 69.7%, 0%, 61.2%)
CIE-LABlab(18.80, 29.59, -36.14)
CIE-LCHlch(18.80, 46.71, 309.31°)
OKLaboklab(31.28% 0.0529 -0.103)
OKLCHoklch(31.28% 0.116 297.2)
XYZxyz(4.4032, 2.6992, 12.0910)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391E63 #48631E
analogous
#1E2663 #391E63 #5B1E63
triadic
#391E63 #63391E #1E6339
tetradic
#391E63 #631E26 #48631E #1E635B
square
#391E63 #631E26 #48631E #1E635B
split-complementary
#391E63 #635B1E #26631E
monochromatic
#0E0717 #1E1034 #391E63 #542C92 #6F3AC1

Accessibility & contrast

On white

13.64
#391E63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#391E63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391E63
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391E63#FFFFFF#000000##FFFFFF
##391E631.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E65
Deuteranopia (green-blind)
#002D62
Tritanopia (blue-blind)
#2F2E3D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #391e63;
/* rgb */ color: rgb(57, 30, 99);
/* oklch */ color: oklch(31.3% 0.116 297.2);
Tailwind
colors: {
  custom: {
    50: '#735c90',
    500: '#391e63',
    950: '#000000',
  },
}
SCSS
$custom: #391e63;
$custom-light: #735c90;
$custom-dark: #000000;
JSON
{
  "hex": "#391e63",
  "rgb": {
    "r": 57,
    "g": 30,
    "b": 99
  },
  "hsl": {
    "h": 263.478,
    "s": 53.488,
    "l": 25.294
  },
  "oklch": {
    "l": 0.31283,
    "c": 0.11585,
    "h": 297.2
  },
  "luminance": 0.02699
}

Semantic roles & 50–950 ramp

primary
#391E63
secondary
#779845
accent
#DD4BA4
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #391E63

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

Preview Lab → · Contrast checker → · Palette generator →

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