#391363#391363

#391363 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.8% C 0.130 H 299.9°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#391363
RGBrgb(57, 19, 99)
HSLhsl(269, 68%, 23%)
HSVhsv(269, 81%, 39%)
CMYKcmyk(42.4%, 80.8%, 0%, 61.2%)
CIE-LABlab(16.68, 35.50, -39.58)
CIE-LCHlch(16.68, 53.17, 311.89°)
OKLaboklab(29.78% 0.0651 -0.1131)
OKLCHoklch(29.78% 0.13 299.9)
XYZxyz(4.1718, 2.2364, 12.0138)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391363 #3D6313
analogous
#131563 #391363 #611363
triadic
#391363 #633913 #136339
tetradic
#391363 #631315 #3D6313 #136361
square
#391363 #631315 #3D6313 #136361
split-complementary
#391363 #636113 #156313
monochromatic
#0F051A #1B0930 #391363 #571D96 #7427CA

Accessibility & contrast

On white

14.51
#391363 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#391363 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391363
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391363#FFFFFF#000000##FFFFFF
##3913631.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002965
Deuteranopia (green-blind)
#002961
Tritanopia (blue-blind)
#2F283A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #391363;
/* rgb */ color: rgb(57, 19, 99);
/* oklch */ color: oklch(29.8% 0.130 299.9);
Tailwind
colors: {
  custom: {
    50: '#745590',
    500: '#391363',
    950: '#000000',
  },
}
SCSS
$custom: #391363;
$custom-light: #745590;
$custom-dark: #000000;
JSON
{
  "hex": "#391363",
  "rgb": {
    "r": 57,
    "g": 19,
    "b": 99
  },
  "hsl": {
    "h": 268.5,
    "s": 67.797,
    "l": 23.137
  },
  "oklch": {
    "l": 0.29779,
    "c": 0.13048,
    "h": 299.9
  },
  "luminance": 0.02236
}

Semantic roles & 50–950 ramp

primary
#391363
secondary
#6B9B37
accent
#EB3D98
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030D
muted
#7B787D

Preview Lab

Preview with #391363

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

Preview Lab → · Contrast checker → · Palette generator →

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