#391045#391045

#391045 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 26.8% C 0.100 H 317.6°. Best body text is #FFFFFF at 15.74:1 contrast (WCAG AA passes).

Color values

HEX#391045
RGBrgb(57, 16, 69)
HSLhsl(286, 62%, 17%)
HSVhsv(286, 77%, 27%)
CMYKcmyk(17.4%, 76.8%, 0%, 72.9%)
CIE-LABlab(13.65, 29.26, -24.11)
CIE-LCHlch(13.65, 37.92, 320.51°)
OKLaboklab(26.84% 0.0741 -0.0677)
OKLCHoklch(26.84% 0.1 317.6)
XYZxyz(2.9467, 1.6702, 5.7962)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391045 #1C4510
analogous
#1F1045 #391045 #451037
triadic
#391045 #453910 #104539
tetradic
#391045 #451F10 #1C4510 #103745
square
#391045 #451F10 #1C4510 #103745
split-complementary
#391045 #374510 #10451F
monochromatic
#150619 #150619 #391045 #621C77 #8B27A8

Accessibility & contrast

On white

15.74
#391045 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#391045 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391045
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391045#FFFFFF#000000##FFFFFF
##3910451.0015.741.3315.74
#FFFFFF15.741.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002047
Deuteranopia (green-blind)
#122444
Tritanopia (blue-blind)
#391A29
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #391045;
/* rgb */ color: rgb(57, 16, 69);
/* oklch */ color: oklch(26.8% 0.100 317.6);
Tailwind
colors: {
  custom: {
    50: '#725279',
    500: '#391045',
    950: '#000000',
  },
}
SCSS
$custom: #391045;
$custom-light: #725279;
$custom-dark: #000000;
JSON
{
  "hex": "#391045",
  "rgb": {
    "r": 57,
    "g": 16,
    "b": 69
  },
  "hsl": {
    "h": 286.415,
    "s": 62.353,
    "l": 16.667
  },
  "oklch": {
    "l": 0.2684,
    "c": 0.10035,
    "h": 317.6
  },
  "luminance": 0.0167
}

Semantic roles & 50–950 ramp

primary
#391045
secondary
#437F32
accent
#E54267
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #391045

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

Preview Lab → · Contrast checker → · Palette generator →

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