#391768#391768

#391768 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.7% C 0.132 H 297.0°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#391768
RGBrgb(57, 23, 104)
HSLhsl(265, 64%, 25%)
HSVhsv(265, 78%, 41%)
CMYKcmyk(45.2%, 77.9%, 0%, 59.2%)
CIE-LABlab(17.84, 34.92, -40.98)
CIE-LCHlch(17.84, 53.85, 310.43°)
OKLaboklab(30.74% 0.0598 -0.1173)
OKLCHoklch(30.74% 0.132 297)
XYZxyz(4.4918, 2.4820, 13.3364)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391768 #466817
analogous
#171E68 #391768 #621768
triadic
#391768 #683917 #176839
tetradic
#391768 #68171E #466817 #176862
square
#391768 #68171E #466817 #176862
split-complementary
#391768 #686217 #1E6817
monochromatic
#0E0619 #1E0C36 #391768 #54229A #702DCC

Accessibility & contrast

On white

14.03
#391768 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#391768 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391768
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391768#FFFFFF#000000##FFFFFF
##3917681.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6A
Deuteranopia (green-blind)
#002B66
Tritanopia (blue-blind)
#2D2C3E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #391768;
/* rgb */ color: rgb(57, 23, 104);
/* oklch */ color: oklch(30.7% 0.132 297.0);
Tailwind
colors: {
  custom: {
    50: '#755894',
    500: '#391768',
    950: '#000000',
  },
}
SCSS
$custom: #391768;
$custom-light: #755894;
$custom-dark: #000000;
JSON
{
  "hex": "#391768",
  "rgb": {
    "r": 57,
    "g": 23,
    "b": 104
  },
  "hsl": {
    "h": 265.185,
    "s": 63.78,
    "l": 24.902
  },
  "oklch": {
    "l": 0.30736,
    "c": 0.13163,
    "h": 297
  },
  "luminance": 0.02482
}

Semantic roles & 50–950 ramp

primary
#391768
secondary
#759E3D
accent
#E741A1
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #391768

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

Preview Lab → · Contrast checker → · Palette generator →

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