#390842#390842

#390842 is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.7% C 0.108 H 320.8°. Best body text is #FFFFFF at 16.31:1 contrast (WCAG AA passes).

Color values

HEX#390842
RGBrgb(57, 8, 66)
HSLhsl(291, 78%, 15%)
HSVhsv(291, 88%, 26%)
CMYKcmyk(13.6%, 87.9%, 0%, 74.1%)
CIE-LABlab(12.20, 32.08, -24.33)
CIE-LCHlch(12.20, 40.26, 322.82°)
OKLaboklab(25.74% 0.0836 -0.0682)
OKLCHoklch(25.74% 0.108 320.8)
XYZxyz(2.7574, 1.4370, 5.2853)
Luminance0.0144 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#390842 #114208
analogous
#1C0842 #390842 #42082E
triadic
#390842 #423908 #084239
tetradic
#390842 #421C08 #114208 #082E42
square
#390842 #421C08 #114208 #082E42
split-complementary
#390842 #2E4208 #08421C
monochromatic
#18031B #18031B #390842 #680F79 #9715AF

Accessibility & contrast

On white

16.31
#390842 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#390842 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #390842
16.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##390842#FFFFFF#000000##FFFFFF
##3908421.0016.311.2916.31
#FFFFFF16.311.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D44
Deuteranopia (green-blind)
#0F2241
Tritanopia (blue-blind)
#391425
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #390842;
/* rgb */ color: rgb(57, 8, 66);
/* oklch */ color: oklch(25.7% 0.108 320.8);
Tailwind
colors: {
  custom: {
    50: '#724e77',
    500: '#390842',
    950: '#000000',
  },
}
SCSS
$custom: #390842;
$custom-light: #724e77;
$custom-dark: #000000;
JSON
{
  "hex": "#390842",
  "rgb": {
    "r": 57,
    "g": 8,
    "b": 66
  },
  "hsl": {
    "h": 290.69,
    "s": 78.378,
    "l": 14.51
  },
  "oklch": {
    "l": 0.25736,
    "c": 0.10791,
    "h": 320.8
  },
  "luminance": 0.01437
}

Semantic roles & 50–950 ramp

primary
#390842
secondary
#348025
accent
#F53351
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #390842

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

Preview Lab → · Contrast checker → · Palette generator →

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