#391750#391750

#391750 is a dark, moderate violet. Relative luminance 0.021; OKLCH L 28.7% C 0.102 H 308.7°. Best body text is #FFFFFF at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#391750
RGBrgb(57, 23, 80)
HSLhsl(276, 55%, 20%)
HSVhsv(276, 71%, 31%)
CMYKcmyk(28.8%, 71.2%, 0%, 68.6%)
CIE-LABlab(15.81, 28.31, -28.24)
CIE-LCHlch(15.81, 39.98, 315.07°)
OKLaboklab(28.65% 0.064 -0.0798)
OKLCHoklch(28.65% 0.102 308.7)
XYZxyz(3.4414, 2.0619, 7.8046)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391750 #2E5017
analogous
#1C1750 #391750 #50174B
triadic
#391750 #503917 #175039
tetradic
#391750 #501C17 #2E5017 #174B50
square
#391750 #501C17 #2E5017 #174B50
split-complementary
#391750 #4B5017 #17501C
monochromatic
#110718 #170920 #391750 #5B2580 #7D32AF

Accessibility & contrast

On white

14.87
#391750 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#391750 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391750
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391750#FFFFFF#000000##FFFFFF
##3917501.0014.871.4114.87
#FFFFFF14.871.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002652
Deuteranopia (green-blind)
#0D284F
Tritanopia (blue-blind)
#362331
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #391750;
/* rgb */ color: rgb(57, 23, 80);
/* oklch */ color: oklch(28.7% 0.102 308.7);
Tailwind
colors: {
  custom: {
    50: '#725781',
    500: '#391750',
    950: '#000000',
  },
}
SCSS
$custom: #391750;
$custom-light: #725781;
$custom-dark: #000000;
JSON
{
  "hex": "#391750",
  "rgb": {
    "r": 57,
    "g": 23,
    "b": 80
  },
  "hsl": {
    "h": 275.789,
    "s": 55.34,
    "l": 20.196
  },
  "oklch": {
    "l": 0.28653,
    "c": 0.10229,
    "h": 308.7
  },
  "luminance": 0.02062
}

Semantic roles & 50–950 ramp

primary
#391750
secondary
#5A873C
accent
#DF4985
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #391750

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

Preview Lab → · Contrast checker → · Palette generator →

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