#391850#391850

#391850 is a dark, moderate violet. Relative luminance 0.021; OKLCH L 28.8% C 0.101 H 308.5°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#391850
RGBrgb(57, 24, 80)
HSLhsl(275, 54%, 20%)
HSVhsv(275, 70%, 31%)
CMYKcmyk(28.8%, 70%, 0%, 68.6%)
CIE-LABlab(16.02, 27.74, -27.90)
CIE-LCHlch(16.02, 39.35, 314.83°)
OKLaboklab(28.8% 0.0626 -0.0788)
OKLCHoklch(28.8% 0.101 308.5)
XYZxyz(3.4617, 2.1024, 7.8113)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391850 #2F5018
analogous
#1D1850 #391850 #50184B
triadic
#391850 #503918 #185039
tetradic
#391850 #501D18 #2F5018 #184B50
square
#391850 #501D18 #2F5018 #184B50
split-complementary
#391850 #4B5018 #18501D
monochromatic
#110718 #170A21 #391850 #5B267F #7C34AE

Accessibility & contrast

On white

14.78
#391850 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#391850 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391850
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391850#FFFFFF#000000##FFFFFF
##3918501.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002652
Deuteranopia (green-blind)
#0F284F
Tritanopia (blue-blind)
#362331
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #391850;
/* rgb */ color: rgb(57, 24, 80);
/* oklch */ color: oklch(28.8% 0.101 308.5);
Tailwind
colors: {
  custom: {
    50: '#725781',
    500: '#391850',
    950: '#000000',
  },
}
SCSS
$custom: #391850;
$custom-light: #725781;
$custom-dark: #000000;
JSON
{
  "hex": "#391850",
  "rgb": {
    "r": 57,
    "g": 24,
    "b": 80
  },
  "hsl": {
    "h": 275.357,
    "s": 53.846,
    "l": 20.392
  },
  "oklch": {
    "l": 0.28802,
    "c": 0.10069,
    "h": 308.5
  },
  "luminance": 0.02102
}

Semantic roles & 50–950 ramp

primary
#391850
secondary
#5B873D
accent
#DD4B87
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #391850

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

Preview Lab → · Contrast checker → · Palette generator →

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