#391757#391757

#391757 is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.2% C 0.111 H 304.8°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#391757
RGBrgb(57, 23, 87)
HSLhsl(272, 58%, 22%)
HSVhsv(272, 74%, 34%)
CMYKcmyk(34.5%, 73.6%, 0%, 65.9%)
CIE-LABlab(16.36, 30.19, -32.09)
CIE-LCHlch(16.36, 44.06, 313.25°)
OKLaboklab(29.22% 0.0632 -0.0911)
OKLCHoklch(29.22% 0.111 304.8)
XYZxyz(3.7137, 2.1708, 9.2383)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391757 #355717
analogous
#191757 #391757 #571755
triadic
#391757 #573917 #175739
tetradic
#391757 #571917 #355717 #175557
square
#391757 #571917 #355717 #175557
split-complementary
#391757 #555717 #175719
monochromatic
#100618 #190A27 #391757 #592487 #7831B8

Accessibility & contrast

On white

14.64
#391757 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391757
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391757#FFFFFF#000000##FFFFFF
##3917571.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002859
Deuteranopia (green-blind)
#022956
Tritanopia (blue-blind)
#332535
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #391757;
/* rgb */ color: rgb(57, 23, 87);
/* oklch */ color: oklch(29.2% 0.111 304.8);
Tailwind
colors: {
  custom: {
    50: '#735787',
    500: '#391757',
    950: '#000000',
  },
}
SCSS
$custom: #391757;
$custom-light: #735787;
$custom-dark: #000000;
JSON
{
  "hex": "#391757",
  "rgb": {
    "r": 57,
    "g": 23,
    "b": 87
  },
  "hsl": {
    "h": 271.875,
    "s": 58.182,
    "l": 21.569
  },
  "oklch": {
    "l": 0.29223,
    "c": 0.11092,
    "h": 304.8
  },
  "luminance": 0.02171
}

Semantic roles & 50–950 ramp

primary
#391757
secondary
#628E3C
accent
#E1468F
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #391757

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

Preview Lab → · Contrast checker → · Palette generator →

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