#391746#391746

#391746 is a dark, moderate purple. Relative luminance 0.019; OKLCH L 27.9% C 0.090 H 315.6°. Best body text is #FFFFFF at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#391746
RGBrgb(57, 23, 70)
HSLhsl(283, 51%, 18%)
HSVhsv(283, 67%, 27%)
CMYKcmyk(18.6%, 67.1%, 0%, 72.5%)
CIE-LABlab(15.09, 25.73, -22.51)
CIE-LCHlch(15.09, 34.19, 318.82°)
OKLaboklab(27.9% 0.0643 -0.063)
OKLCHoklch(27.9% 0.09 315.6)
XYZxyz(3.0991, 1.9250, 6.0015)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391746 #244617
analogous
#211746 #391746 #46173B
triadic
#391746 #463917 #174639
tetradic
#391746 #462117 #244617 #173B46
square
#391746 #462117 #244617 #173B46
split-complementary
#391746 #3B4617 #174621
monochromatic
#130817 #130818 #391746 #5F2674 #8435A2

Accessibility & contrast

On white

15.16
#391746 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#391746 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391746
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391746#FFFFFF#000000##FFFFFF
##3917461.0015.161.3915.16
#FFFFFF15.161.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092447
Deuteranopia (green-blind)
#172745
Tritanopia (blue-blind)
#381F2C
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #391746;
/* rgb */ color: rgb(57, 23, 70);
/* oklch */ color: oklch(27.9% 0.090 315.6);
Tailwind
colors: {
  custom: {
    50: '#71567a',
    500: '#391746',
    950: '#000000',
  },
}
SCSS
$custom: #391746;
$custom-light: #71567a;
$custom-dark: #000000;
JSON
{
  "hex": "#391746",
  "rgb": {
    "r": 57,
    "g": 23,
    "b": 70
  },
  "hsl": {
    "h": 283.404,
    "s": 50.538,
    "l": 18.235
  },
  "oklch": {
    "l": 0.279,
    "c": 0.09004,
    "h": 315.6
  },
  "luminance": 0.01925
}

Semantic roles & 50–950 ramp

primary
#391746
secondary
#4E7D3C
accent
#DA4E75
background
#F6F5F7
surface
#ECE9ED
border
#C7C5C8
text
#080309
muted
#7B787B

Preview Lab

Preview with #391746

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

Preview Lab → · Contrast checker → · Palette generator →

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