#390746#390746

#390746 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.0% C 0.113 H 318.0°. Best body text is #FFFFFF at 16.24:1 contrast (WCAG AA passes).

Color values

HEX#390746
RGBrgb(57, 7, 70)
HSLhsl(288, 82%, 15%)
HSVhsv(288, 90%, 27%)
CMYKcmyk(18.6%, 90%, 0%, 72.5%)
CIE-LABlab(12.38, 33.36, -26.86)
CIE-LCHlch(12.38, 42.83, 321.16°)
OKLaboklab(25.96% 0.084 -0.0756)
OKLCHoklch(25.96% 0.113 318)
XYZxyz(2.8687, 1.4641, 5.9247)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#390746 #144607
analogous
#190746 #390746 #460733
triadic
#390746 #463907 #074639
tetradic
#390746 #461907 #144607 #073346
square
#390746 #461907 #144607 #073346
split-complementary
#390746 #334607 #074619
monochromatic
#17031C #17031C #390746 #660D7E #9412B5

Accessibility & contrast

On white

16.24
#390746 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #390746
16.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##390746#FFFFFF#000000##FFFFFF
##3907461.0016.241.2916.24
#FFFFFF16.241.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D48
Deuteranopia (green-blind)
#0A2245
Tritanopia (blue-blind)
#391627
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #390746;
/* rgb */ color: rgb(57, 7, 70);
/* oklch */ color: oklch(26.0% 0.113 318.0);
Tailwind
colors: {
  custom: {
    50: '#724e7a',
    500: '#390746',
    950: '#000000',
  },
}
SCSS
$custom: #390746;
$custom-light: #724e7a;
$custom-dark: #000000;
JSON
{
  "hex": "#390746",
  "rgb": {
    "r": 57,
    "g": 7,
    "b": 70
  },
  "hsl": {
    "h": 287.619,
    "s": 81.818,
    "l": 15.098
  },
  "oklch": {
    "l": 0.25961,
    "c": 0.11303,
    "h": 318
  },
  "luminance": 0.01464
}

Semantic roles & 50–950 ramp

primary
#390746
secondary
#388524
accent
#F83059
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #390746

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

Preview Lab → · Contrast checker → · Palette generator →

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