#391854#391854

#391854 is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.1% C 0.106 H 306.1°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#391854
RGBrgb(57, 24, 84)
HSLhsl(273, 56%, 21%)
HSVhsv(273, 71%, 33%)
CMYKcmyk(32.1%, 71.4%, 0%, 67.1%)
CIE-LABlab(16.32, 28.81, -30.13)
CIE-LCHlch(16.32, 41.69, 313.72°)
OKLaboklab(29.12% 0.0623 -0.0854)
OKLCHoklch(29.12% 0.106 306.1)
XYZxyz(3.6139, 2.1633, 8.6130)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391854 #335418
analogous
#1B1854 #391854 #541851
triadic
#391854 #543918 #185439
tetradic
#391854 #541B18 #335418 #185154
square
#391854 #541B18 #335418 #185154
split-complementary
#391854 #515418 #18541B
monochromatic
#100718 #190A24 #391854 #592684 #7A33B3

Accessibility & contrast

On white

14.66
#391854 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391854
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391854#FFFFFF#000000##FFFFFF
##3918541.0014.661.4314.66
#FFFFFF14.661.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002756
Deuteranopia (green-blind)
#092953
Tritanopia (blue-blind)
#342533
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #391854;
/* rgb */ color: rgb(57, 24, 84);
/* oklch */ color: oklch(29.1% 0.106 306.1);
Tailwind
colors: {
  custom: {
    50: '#725784',
    500: '#391854',
    950: '#000000',
  },
}
SCSS
$custom: #391854;
$custom-light: #725784;
$custom-dark: #000000;
JSON
{
  "hex": "#391854",
  "rgb": {
    "r": 57,
    "g": 24,
    "b": 84
  },
  "hsl": {
    "h": 273,
    "s": 55.556,
    "l": 21.176
  },
  "oklch": {
    "l": 0.29121,
    "c": 0.10568,
    "h": 306.1
  },
  "luminance": 0.02163
}

Semantic roles & 50–950 ramp

primary
#391854
secondary
#608B3D
accent
#DF498C
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #391854

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

Preview Lab → · Contrast checker → · Palette generator →

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