#390840#390840

#390840 is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.6% C 0.106 H 322.3°. Best body text is #FFFFFF at 16.37:1 contrast (WCAG AA passes).

Color values

HEX#390840
RGBrgb(57, 8, 64)
HSLhsl(293, 78%, 14%)
HSVhsv(293, 88%, 25%)
CMYKcmyk(10.9%, 87.5%, 0%, 74.9%)
CIE-LABlab(12.05, 31.65, -23.16)
CIE-LCHlch(12.05, 39.22, 323.80°)
OKLaboklab(25.58% 0.0838 -0.0648)
OKLCHoklch(25.58% 0.106 322.3)
XYZxyz(2.6995, 1.4138, 4.9802)
Luminance0.0141 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#390840 #0F4008
analogous
#1D0840 #390840 #40082B
triadic
#390840 #403908 #084039
tetradic
#390840 #401D08 #0F4008 #082B40
square
#390840 #401D08 #0F4008 #082B40
split-complementary
#390840 #2B4008 #08401D
monochromatic
#18031B #18031B #390840 #690F76 #9A16AD

Accessibility & contrast

On white

16.37
#390840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#390840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #390840
16.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##390840#FFFFFF#000000##FFFFFF
##3908401.0016.371.2816.37
#FFFFFF16.371.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C41
Deuteranopia (green-blind)
#11213F
Tritanopia (blue-blind)
#3A1324
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #390840;
/* rgb */ color: rgb(57, 8, 64);
/* oklch */ color: oklch(25.6% 0.106 322.3);
Tailwind
colors: {
  custom: {
    50: '#724e75',
    500: '#390840',
    950: '#000000',
  },
}
SCSS
$custom: #390840;
$custom-light: #724e75;
$custom-dark: #000000;
JSON
{
  "hex": "#390840",
  "rgb": {
    "r": 57,
    "g": 8,
    "b": 64
  },
  "hsl": {
    "h": 292.5,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.2558,
    "c": 0.10598,
    "h": 322.3
  },
  "luminance": 0.01414
}

Semantic roles & 50–950 ramp

primary
#390840
secondary
#307E25
accent
#F4344C
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #390840

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

Preview Lab → · Contrast checker → · Palette generator →

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