#391763#391763

#391763 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.3% C 0.126 H 299.1°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#391763
RGBrgb(57, 23, 99)
HSLhsl(267, 62%, 24%)
HSVhsv(267, 77%, 39%)
CMYKcmyk(42.4%, 76.8%, 0%, 61.2%)
CIE-LABlab(17.38, 33.51, -38.43)
CIE-LCHlch(17.38, 50.99, 311.08°)
OKLaboklab(30.27% 0.061 -0.1098)
OKLCHoklch(30.27% 0.126 299.1)
XYZxyz(4.2453, 2.3834, 12.0383)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391763 #416317
analogous
#171B63 #391763 #5F1763
triadic
#391763 #633917 #176339
tetradic
#391763 #63171B #416317 #17635F
square
#391763 #63171B #416317 #17635F
split-complementary
#391763 #635F17 #1B6317
monochromatic
#0E0619 #1C0B31 #391763 #562395 #722EC6

Accessibility & contrast

On white

14.22
#391763 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#391763 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391763
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391763#FFFFFF#000000##FFFFFF
##3917631.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B65
Deuteranopia (green-blind)
#002A61
Tritanopia (blue-blind)
#2F2A3B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #391763;
/* rgb */ color: rgb(57, 23, 99);
/* oklch */ color: oklch(30.3% 0.126 299.1);
Tailwind
colors: {
  custom: {
    50: '#745790',
    500: '#391763',
    950: '#000000',
  },
}
SCSS
$custom: #391763;
$custom-light: #745790;
$custom-dark: #000000;
JSON
{
  "hex": "#391763",
  "rgb": {
    "r": 57,
    "g": 23,
    "b": 99
  },
  "hsl": {
    "h": 266.842,
    "s": 62.295,
    "l": 23.922
  },
  "oklch": {
    "l": 0.30274,
    "c": 0.12559,
    "h": 299.1
  },
  "luminance": 0.02384
}

Semantic roles & 50–950 ramp

primary
#391763
secondary
#709A3C
accent
#E5429C
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030D
muted
#7B787D

Preview Lab

Preview with #391763

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

Preview Lab → · Contrast checker → · Palette generator →

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