#391A68#391A68

#391A68 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.1% C 0.128 H 296.3°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#391A68
RGBrgb(57, 26, 104)
HSLhsl(264, 60%, 25%)
HSVhsv(264, 75%, 41%)
CMYKcmyk(45.2%, 75%, 0%, 59.2%)
CIE-LABlab(18.40, 33.34, -40.07)
CIE-LCHlch(18.40, 52.12, 309.76°)
OKLaboklab(31.13% 0.0567 -0.1146)
OKLCHoklch(31.13% 0.128 296.3)
XYZxyz(4.5548, 2.6080, 13.3574)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391A68 #49681A
analogous
#1A2268 #391A68 #601A68
triadic
#391A68 #68391A #1A6839
tetradic
#391A68 #681A22 #49681A #1A6860
square
#391A68 #681A22 #49681A #1A6860
split-complementary
#391A68 #68601A #22681A
monochromatic
#0D0618 #1E0E37 #391A68 #542699 #6F32CA

Accessibility & contrast

On white

13.80
#391A68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#391A68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391A68
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391A68#FFFFFF#000000##FFFFFF
##391A681.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6A
Deuteranopia (green-blind)
#002C66
Tritanopia (blue-blind)
#2D2E3F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #391a68;
/* rgb */ color: rgb(57, 26, 104);
/* oklch */ color: oklch(31.1% 0.128 296.3);
Tailwind
colors: {
  custom: {
    50: '#745994',
    500: '#391a68',
    950: '#000000',
  },
}
SCSS
$custom: #391a68;
$custom-light: #745994;
$custom-dark: #000000;
JSON
{
  "hex": "#391a68",
  "rgb": {
    "r": 57,
    "g": 26,
    "b": 104
  },
  "hsl": {
    "h": 263.846,
    "s": 60,
    "l": 25.49
  },
  "oklch": {
    "l": 0.31134,
    "c": 0.12784,
    "h": 296.3
  },
  "luminance": 0.02608
}

Semantic roles & 50–950 ramp

primary
#391A68
secondary
#789D40
accent
#E345A4
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09040D
muted
#7B797E

Preview Lab

Preview with #391A68

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

Preview Lab → · Contrast checker → · Palette generator →

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