#391163#391163

#391163 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.6% C 0.133 H 300.3°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#391163
RGBrgb(57, 17, 99)
HSLhsl(269, 71%, 23%)
HSVhsv(269, 83%, 39%)
CMYKcmyk(42.4%, 82.8%, 0%, 61.2%)
CIE-LABlab(16.36, 36.42, -40.10)
CIE-LCHlch(16.36, 54.17, 312.25°)
OKLaboklab(29.56% 0.0669 -0.1146)
OKLCHoklch(29.56% 0.133 300.3)
XYZxyz(4.1394, 2.1716, 12.0030)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391163 #3B6311
analogous
#111263 #391163 #621163
triadic
#391163 #633911 #116339
tetradic
#391163 #631112 #3B6311 #116362
square
#391163 #631112 #3B6311 #116362
split-complementary
#391163 #636211 #126311
monochromatic
#0F041A #1B082F #391163 #571A97 #7523CB

Accessibility & contrast

On white

14.64
#391163 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#391163 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391163
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391163#FFFFFF#000000##FFFFFF
##3911631.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002865
Deuteranopia (green-blind)
#002861
Tritanopia (blue-blind)
#2F273A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #391163;
/* rgb */ color: rgb(57, 17, 99);
/* oklch */ color: oklch(29.6% 0.133 300.3);
Tailwind
colors: {
  custom: {
    50: '#745490',
    500: '#391163',
    950: '#000000',
  },
}
SCSS
$custom: #391163;
$custom-light: #745490;
$custom-dark: #000000;
JSON
{
  "hex": "#391163",
  "rgb": {
    "r": 57,
    "g": 17,
    "b": 99
  },
  "hsl": {
    "h": 269.268,
    "s": 70.69,
    "l": 22.745
  },
  "oklch": {
    "l": 0.29556,
    "c": 0.13273,
    "h": 300.3
  },
  "luminance": 0.02172
}

Semantic roles & 50–950 ramp

primary
#391163
secondary
#699B34
accent
#ED3A96
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030D
muted
#7B787D

Preview Lab

Preview with #391163

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

Preview Lab → · Contrast checker → · Palette generator →

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