#391756#391756

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

Color values

HEX#391756
RGBrgb(57, 23, 86)
HSLhsl(272, 58%, 21%)
HSVhsv(272, 73%, 34%)
CMYKcmyk(33.7%, 73.3%, 0%, 66.3%)
CIE-LABlab(16.28, 29.91, -31.55)
CIE-LCHlch(16.28, 43.48, 313.48°)
OKLaboklab(29.14% 0.0634 -0.0895)
OKLCHoklch(29.14% 0.11 305.3)
XYZxyz(3.6731, 2.1546, 9.0247)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391756 #345617
analogous
#1A1756 #391756 #561754
triadic
#391756 #563917 #175639
tetradic
#391756 #561A17 #345617 #175456
square
#391756 #561A17 #345617 #175456
split-complementary
#391756 #545617 #17561A
monochromatic
#100618 #190A26 #391756 #592486 #7931B7

Accessibility & contrast

On white

14.68
#391756 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391756
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391756#FFFFFF#000000##FFFFFF
##3917561.0014.681.4314.68
#FFFFFF14.681.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002758
Deuteranopia (green-blind)
#042855
Tritanopia (blue-blind)
#342534
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #391756;
/* rgb */ color: rgb(57, 23, 86);
/* oklch */ color: oklch(29.1% 0.110 305.3);
Tailwind
colors: {
  custom: {
    50: '#725786',
    500: '#391756',
    950: '#000000',
  },
}
SCSS
$custom: #391756;
$custom-light: #725786;
$custom-dark: #000000;
JSON
{
  "hex": "#391756",
  "rgb": {
    "r": 57,
    "g": 23,
    "b": 86
  },
  "hsl": {
    "h": 272.381,
    "s": 57.798,
    "l": 21.373
  },
  "oklch": {
    "l": 0.2914,
    "c": 0.10969,
    "h": 305.3
  },
  "luminance": 0.02155
}

Semantic roles & 50–950 ramp

primary
#391756
secondary
#618D3C
accent
#E1478E
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #391756

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

Preview Lab → · Contrast checker → · Palette generator →

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