#390948#390948

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

Color values

HEX#390948
RGBrgb(57, 9, 72)
HSLhsl(286, 78%, 16%)
HSVhsv(286, 88%, 28%)
CMYKcmyk(20.8%, 87.5%, 0%, 71.8%)
CIE-LABlab(12.82, 33.00, -27.55)
CIE-LCHlch(12.82, 42.98, 320.15°)
OKLaboklab(26.32% 0.0815 -0.0777)
OKLCHoklch(26.32% 0.113 316.4)
XYZxyz(2.9545, 1.5332, 6.2699)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#390948 #184809
analogous
#190948 #390948 #480937
triadic
#390948 #483909 #094839
tetradic
#390948 #481909 #184809 #093748
square
#390948 #481909 #184809 #093748
split-complementary
#390948 #374809 #094819
monochromatic
#16031B #16031B #390948 #64107E #8F17B5

Accessibility & contrast

On white

16.07
#390948 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#390948 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #390948
16.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##390948#FFFFFF#000000##FFFFFF
##3909481.0016.071.3116.07
#FFFFFF16.071.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4A
Deuteranopia (green-blind)
#092247
Tritanopia (blue-blind)
#381829
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #390948;
/* rgb */ color: rgb(57, 9, 72);
/* oklch */ color: oklch(26.3% 0.113 316.4);
Tailwind
colors: {
  custom: {
    50: '#724f7b',
    500: '#390948',
    950: '#000000',
  },
}
SCSS
$custom: #390948;
$custom-light: #724f7b;
$custom-dark: #000000;
JSON
{
  "hex": "#390948",
  "rgb": {
    "r": 57,
    "g": 9,
    "b": 72
  },
  "hsl": {
    "h": 285.714,
    "s": 77.778,
    "l": 15.882
  },
  "oklch": {
    "l": 0.26322,
    "c": 0.11261,
    "h": 316.4
  },
  "luminance": 0.01533
}

Semantic roles & 50–950 ramp

primary
#390948
secondary
#3E8527
accent
#F43461
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #390948

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

Preview Lab → · Contrast checker → · Palette generator →

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