#390742#390742

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

Color values

HEX#390742
RGBrgb(57, 7, 66)
HSLhsl(291, 81%, 14%)
HSVhsv(291, 89%, 26%)
CMYKcmyk(13.6%, 89.4%, 0%, 74.1%)
CIE-LABlab(12.06, 32.49, -24.56)
CIE-LCHlch(12.06, 40.73, 322.91°)
OKLaboklab(25.64% 0.0847 -0.0689)
OKLCHoklch(25.64% 0.109 320.9)
XYZxyz(2.7466, 1.4153, 5.2817)
Luminance0.0141 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#390742 #104207
analogous
#1C0742 #390742 #42072E
triadic
#390742 #423907 #074239
tetradic
#390742 #421C07 #104207 #072E42
square
#390742 #421C07 #104207 #072E42
split-complementary
#390742 #2E4207 #07421C
monochromatic
#18031C #18031C #390742 #690D79 #9913B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##390742#FFFFFF#000000##FFFFFF
##3907421.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)
#001C44
Deuteranopia (green-blind)
#0E2141
Tritanopia (blue-blind)
#391425
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #390742;
/* rgb */ color: rgb(57, 7, 66);
/* oklch */ color: oklch(25.6% 0.109 320.9);
Tailwind
colors: {
  custom: {
    50: '#724e77',
    500: '#390742',
    950: '#000000',
  },
}
SCSS
$custom: #390742;
$custom-light: #724e77;
$custom-dark: #000000;
JSON
{
  "hex": "#390742",
  "rgb": {
    "r": 57,
    "g": 7,
    "b": 66
  },
  "hsl": {
    "h": 290.847,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.25635,
    "c": 0.10918,
    "h": 320.9
  },
  "luminance": 0.01415
}

Semantic roles & 50–950 ramp

primary
#390742
secondary
#328124
accent
#F7314F
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #390742

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

Preview Lab → · Contrast checker → · Palette generator →

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