#391656#391656

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

Color values

HEX#391656
RGBrgb(57, 22, 86)
HSLhsl(273, 59%, 21%)
HSVhsv(273, 74%, 34%)
CMYKcmyk(33.7%, 74.4%, 0%, 66.3%)
CIE-LABlab(16.08, 30.46, -31.87)
CIE-LCHlch(16.08, 44.08, 313.71°)
OKLaboklab(29% 0.0646 -0.0904)
OKLCHoklch(29% 0.111 305.5)
XYZxyz(3.6536, 2.1156, 9.0182)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391656 #335616
analogous
#191656 #391656 #561653
triadic
#391656 #563916 #165639
tetradic
#391656 #561916 #335616 #165356
square
#391656 #561916 #335616 #165356
split-complementary
#391656 #535616 #165619
monochromatic
#100618 #190A25 #391656 #592287 #7A2FB7

Accessibility & contrast

On white

14.76
#391656 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391656
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391656#FFFFFF#000000##FFFFFF
##3916561.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #391656;
/* rgb */ color: rgb(57, 22, 86);
/* oklch */ color: oklch(29.0% 0.111 305.5);
Tailwind
colors: {
  custom: {
    50: '#725686',
    500: '#391656',
    950: '#000000',
  },
}
SCSS
$custom: #391656;
$custom-light: #725686;
$custom-dark: #000000;
JSON
{
  "hex": "#391656",
  "rgb": {
    "r": 57,
    "g": 22,
    "b": 86
  },
  "hsl": {
    "h": 272.813,
    "s": 59.259,
    "l": 21.176
  },
  "oklch": {
    "l": 0.29,
    "c": 0.11116,
    "h": 305.5
  },
  "luminance": 0.02116
}

Semantic roles & 50–950 ramp

primary
#391656
secondary
#608D3A
accent
#E2458D
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #391656

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

Preview Lab → · Contrast checker → · Palette generator →

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