#391845#391845

#391845 is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.0% C 0.087 H 316.1°. Best body text is #FFFFFF at 15.10:1 contrast (WCAG AA passes).

Color values

HEX#391845
RGBrgb(57, 24, 69)
HSLhsl(284, 48%, 18%)
HSVhsv(284, 65%, 27%)
CMYKcmyk(17.4%, 65.2%, 0%, 72.9%)
CIE-LABlab(15.24, 24.90, -21.58)
CIE-LCHlch(15.24, 32.95, 319.08°)
OKLaboklab(27.99% 0.0627 -0.0603)
OKLCHoklch(27.99% 0.087 316.1)
XYZxyz(3.0880, 1.9529, 5.8434)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391845 #244518
analogous
#221845 #391845 #45183A
triadic
#391845 #453918 #184539
tetradic
#391845 #452218 #244518 #183A45
square
#391845 #452218 #244518 #183A45
split-complementary
#391845 #3A4518 #184522
monochromatic
#130817 #130818 #391845 #5F2872 #8438A0

Accessibility & contrast

On white

15.10
#391845 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391845
15.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391845#FFFFFF#000000##FFFFFF
##3918451.0015.101.3915.10
#FFFFFF15.101.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2446
Deuteranopia (green-blind)
#182744
Tritanopia (blue-blind)
#38202B
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #391845;
/* rgb */ color: rgb(57, 24, 69);
/* oklch */ color: oklch(28.0% 0.087 316.1);
Tailwind
colors: {
  custom: {
    50: '#715779',
    500: '#391845',
    950: '#000000',
  },
}
SCSS
$custom: #391845;
$custom-light: #715779;
$custom-dark: #000000;
JSON
{
  "hex": "#391845",
  "rgb": {
    "r": 57,
    "g": 24,
    "b": 69
  },
  "hsl": {
    "h": 284,
    "s": 48.387,
    "l": 18.235
  },
  "oklch": {
    "l": 0.27988,
    "c": 0.08703,
    "h": 316.1
  },
  "luminance": 0.01953
}

Semantic roles & 50–950 ramp

primary
#391845
secondary
#4E7C3D
accent
#D85074
background
#F6F5F7
surface
#ECE9ED
border
#C7C5C8
text
#080309
muted
#7B787B

Preview Lab

Preview with #391845

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

Preview Lab → · Contrast checker → · Palette generator →

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