#391950#391950

#391950 is a dark, moderate violet. Relative luminance 0.021; OKLCH L 29.0% C 0.099 H 308.2°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#391950
RGBrgb(57, 25, 80)
HSLhsl(275, 52%, 21%)
HSVhsv(275, 69%, 31%)
CMYKcmyk(28.8%, 68.8%, 0%, 68.6%)
CIE-LABlab(16.23, 27.16, -27.56)
CIE-LCHlch(16.23, 38.70, 314.58°)
OKLaboklab(28.96% 0.0613 -0.0778)
OKLCHoklch(28.96% 0.099 308.2)
XYZxyz(3.4826, 2.1444, 7.8183)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391950 #305019
analogous
#1D1950 #391950 #50194B
triadic
#391950 #503919 #195039
tetradic
#391950 #501D19 #305019 #194B50
square
#391950 #501D19 #305019 #194B50
split-complementary
#391950 #4B5019 #19501D
monochromatic
#110717 #180A21 #391950 #5A287F #7B36AD

Accessibility & contrast

On white

14.70
#391950 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#391950 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391950
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391950#FFFFFF#000000##FFFFFF
##3919501.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002752
Deuteranopia (green-blind)
#10294F
Tritanopia (blue-blind)
#362431
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #391950;
/* rgb */ color: rgb(57, 25, 80);
/* oklch */ color: oklch(29.0% 0.099 308.2);
Tailwind
colors: {
  custom: {
    50: '#725881',
    500: '#391950',
    950: '#000000',
  },
}
SCSS
$custom: #391950;
$custom-light: #725881;
$custom-dark: #000000;
JSON
{
  "hex": "#391950",
  "rgb": {
    "r": 57,
    "g": 25,
    "b": 80
  },
  "hsl": {
    "h": 274.909,
    "s": 52.381,
    "l": 20.588
  },
  "oklch": {
    "l": 0.28955,
    "c": 0.09905,
    "h": 308.2
  },
  "luminance": 0.02144
}

Semantic roles & 50–950 ramp

primary
#391950
secondary
#5C863E
accent
#DC4C88
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #391950

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

Preview Lab → · Contrast checker → · Palette generator →

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