#391760#391760

#391760 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.0% C 0.122 H 300.4°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#391760
RGBrgb(57, 23, 96)
HSLhsl(268, 61%, 23%)
HSVhsv(268, 76%, 38%)
CMYKcmyk(40.6%, 76%, 0%, 62.4%)
CIE-LABlab(17.12, 32.67, -36.88)
CIE-LCHlch(17.12, 49.27, 311.54°)
OKLaboklab(30% 0.0617 -0.1052)
OKLCHoklch(30% 0.122 300.4)
XYZxyz(4.1045, 2.3271, 11.2970)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391760 #3E6017
analogous
#171960 #391760 #5D1760
triadic
#391760 #603917 #176039
tetradic
#391760 #601719 #3E6017 #17605D
square
#391760 #601719 #3E6017 #17605D
split-complementary
#391760 #605D17 #196017
monochromatic
#0F0619 #1C0B2F #391760 #562391 #742FC3

Accessibility & contrast

On white

14.33
#391760 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#391760 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391760
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391760#FFFFFF#000000##FFFFFF
##3917601.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A62
Deuteranopia (green-blind)
#002A5F
Tritanopia (blue-blind)
#30293A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #391760;
/* rgb */ color: rgb(57, 23, 96);
/* oklch */ color: oklch(30.0% 0.122 300.4);
Tailwind
colors: {
  custom: {
    50: '#74578e',
    500: '#391760',
    950: '#000000',
  },
}
SCSS
$custom: #391760;
$custom-light: #74578e;
$custom-dark: #000000;
JSON
{
  "hex": "#391760",
  "rgb": {
    "r": 57,
    "g": 23,
    "b": 96
  },
  "hsl": {
    "h": 267.945,
    "s": 61.345,
    "l": 23.333
  },
  "oklch": {
    "l": 0.30003,
    "c": 0.12193,
    "h": 300.4
  },
  "luminance": 0.02327
}

Semantic roles & 50–950 ramp

primary
#391760
secondary
#6C973C
accent
#E44399
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #391760

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

Preview Lab → · Contrast checker → · Palette generator →

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