#391348#391348

#391348 is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.5% C 0.099 H 314.9°. Best body text is #FFFFFF at 15.43:1 contrast (WCAG AA passes).

Color values

HEX#391348
RGBrgb(57, 19, 72)
HSLhsl(283, 58%, 18%)
HSVhsv(283, 74%, 28%)
CMYKcmyk(20.8%, 73.6%, 0%, 71.8%)
CIE-LABlab(14.42, 28.45, -24.97)
CIE-LCHlch(14.42, 37.85, 318.73°)
OKLaboklab(27.46% 0.07 -0.0702)
OKLCHoklch(27.46% 0.099 314.9)
XYZxyz(3.0897, 1.8036, 6.3150)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391348 #224813
analogous
#1E1348 #391348 #48133C
triadic
#391348 #483913 #134839
tetradic
#391348 #481E13 #224813 #133C48
square
#391348 #481E13 #224813 #133C48
split-complementary
#391348 #3C4813 #13481E
monochromatic
#130618 #130618 #391348 #5F2078 #862DA9

Accessibility & contrast

On white

15.43
#391348 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#391348 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391348
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391348#FFFFFF#000000##FFFFFF
##3913481.0015.431.3615.43
#FFFFFF15.431.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224A
Deuteranopia (green-blind)
#122547
Tritanopia (blue-blind)
#381D2B
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #391348;
/* rgb */ color: rgb(57, 19, 72);
/* oklch */ color: oklch(27.5% 0.099 314.9);
Tailwind
colors: {
  custom: {
    50: '#72547b',
    500: '#391348',
    950: '#000000',
  },
}
SCSS
$custom: #391348;
$custom-light: #72547b;
$custom-dark: #000000;
JSON
{
  "hex": "#391348",
  "rgb": {
    "r": 57,
    "g": 19,
    "b": 72
  },
  "hsl": {
    "h": 283.019,
    "s": 58.242,
    "l": 17.843
  },
  "oklch": {
    "l": 0.27463,
    "c": 0.0991,
    "h": 314.9
  },
  "luminance": 0.01803
}

Semantic roles & 50–950 ramp

primary
#391348
secondary
#4B8136
accent
#E14672
background
#F7F4F7
surface
#EDE8EE
border
#C8C4C9
text
#080309
muted
#7B787B

Preview Lab

Preview with #391348

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

Preview Lab → · Contrast checker → · Palette generator →

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