#391954#391954

#391954 is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.3% C 0.104 H 305.9°. Best body text is #FFFFFF at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#391954
RGBrgb(57, 25, 84)
HSLhsl(273, 54%, 21%)
HSVhsv(273, 70%, 33%)
CMYKcmyk(32.1%, 70.2%, 0%, 67.1%)
CIE-LABlab(16.53, 28.24, -29.79)
CIE-LCHlch(16.53, 41.05, 313.47°)
OKLaboklab(29.27% 0.061 -0.0844)
OKLCHoklch(29.27% 0.104 305.9)
XYZxyz(3.6349, 2.2052, 8.6200)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391954 #345419
analogous
#1C1954 #391954 #541952
triadic
#391954 #543919 #195439
tetradic
#391954 #541C19 #345419 #195254
square
#391954 #541C19 #345419 #195254
split-complementary
#391954 #525419 #19541C
monochromatic
#100718 #190B25 #391954 #592783 #7935B2

Accessibility & contrast

On white

14.57
#391954 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#391954 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391954
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391954#FFFFFF#000000##FFFFFF
##3919541.0014.571.4414.57
#FFFFFF14.571.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002856
Deuteranopia (green-blind)
#0A2953
Tritanopia (blue-blind)
#342534
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #391954;
/* rgb */ color: rgb(57, 25, 84);
/* oklch */ color: oklch(29.3% 0.104 305.9);
Tailwind
colors: {
  custom: {
    50: '#725884',
    500: '#391954',
    950: '#000000',
  },
}
SCSS
$custom: #391954;
$custom-light: #725884;
$custom-dark: #000000;
JSON
{
  "hex": "#391954",
  "rgb": {
    "r": 57,
    "g": 25,
    "b": 84
  },
  "hsl": {
    "h": 272.542,
    "s": 54.128,
    "l": 21.373
  },
  "oklch": {
    "l": 0.2927,
    "c": 0.10411,
    "h": 305.9
  },
  "luminance": 0.02205
}

Semantic roles & 50–950 ramp

primary
#391954
secondary
#618A3E
accent
#DD4A8E
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #391954

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

Preview Lab → · Contrast checker → · Palette generator →

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