#391755#391755

#391755 is a dark, moderate violet. Relative luminance 0.021; OKLCH L 29.1% C 0.108 H 305.8°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#391755
RGBrgb(57, 23, 85)
HSLhsl(273, 57%, 21%)
HSVhsv(273, 73%, 33%)
CMYKcmyk(32.9%, 72.9%, 0%, 66.7%)
CIE-LABlab(16.20, 29.64, -31.00)
CIE-LCHlch(16.20, 42.89, 313.72°)
OKLaboklab(29.06% 0.0635 -0.0879)
OKLCHoklch(29.06% 0.108 305.8)
XYZxyz(3.6331, 2.1386, 8.8140)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391755 #335517
analogous
#1A1755 #391755 #551752
triadic
#391755 #553917 #175539
tetradic
#391755 #551A17 #335517 #175255
square
#391755 #551A17 #335517 #175255
split-complementary
#391755 #525517 #17551A
monochromatic
#100718 #190A25 #391755 #592485 #7A31B5

Accessibility & contrast

On white

14.71
#391755 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391755
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391755#FFFFFF#000000##FFFFFF
##3917551.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #391755;
/* rgb */ color: rgb(57, 23, 85);
/* oklch */ color: oklch(29.1% 0.108 305.8);
Tailwind
colors: {
  custom: {
    50: '#725785',
    500: '#391755',
    950: '#000000',
  },
}
SCSS
$custom: #391755;
$custom-light: #725785;
$custom-dark: #000000;
JSON
{
  "hex": "#391755",
  "rgb": {
    "r": 57,
    "g": 23,
    "b": 85
  },
  "hsl": {
    "h": 272.903,
    "s": 57.407,
    "l": 21.176
  },
  "oklch": {
    "l": 0.29057,
    "c": 0.10845,
    "h": 305.8
  },
  "luminance": 0.02139
}

Semantic roles & 50–950 ramp

primary
#391755
secondary
#608C3C
accent
#E1478C
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #391755

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

Preview Lab → · Contrast checker → · Palette generator →

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