#391074#391074

#391074 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.2% C 0.153 H 293.9°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#391074
RGBrgb(57, 16, 116)
HSLhsl(265, 76%, 26%)
HSVhsv(265, 86%, 45%)
CMYKcmyk(50.9%, 86.2%, 0%, 54.5%)
CIE-LABlab(17.92, 41.42, -48.65)
CIE-LCHlch(17.92, 63.89, 310.41°)
OKLaboklab(31.16% 0.0618 -0.1397)
OKLCHoklch(31.16% 0.153 293.9)
XYZxyz(5.0241, 2.5012, 16.7377)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391074 #4B7410
analogous
#101974 #391074 #6B1074
triadic
#391074 #743910 #107439
tetradic
#391074 #741019 #4B7410 #10746B
square
#391074 #741019 #4B7410 #10746B
split-complementary
#391074 #746B10 #197410
monochromatic
#0D041B #1F093E #391074 #5317AA #6E1FE0

Accessibility & contrast

On white

14.00
#391074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#391074 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391074
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391074#FFFFFF#000000##FFFFFF
##3910741.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D77
Deuteranopia (green-blind)
#002A72
Tritanopia (blue-blind)
#262E43
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #391074;
/* rgb */ color: rgb(57, 16, 116);
/* oklch */ color: oklch(31.2% 0.153 293.9);
Tailwind
colors: {
  custom: {
    50: '#77559d',
    500: '#391074',
    950: '#000000',
  },
}
SCSS
$custom: #391074;
$custom-light: #77559d;
$custom-dark: #000000;
JSON
{
  "hex": "#391074",
  "rgb": {
    "r": 57,
    "g": 16,
    "b": 116
  },
  "hsl": {
    "h": 264.6,
    "s": 75.758,
    "l": 25.882
  },
  "oklch": {
    "l": 0.31158,
    "c": 0.15271,
    "h": 293.9
  },
  "luminance": 0.02501
}

Semantic roles & 50–950 ramp

primary
#391074
secondary
#7BAB35
accent
#F235A5
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #391074

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

Preview Lab → · Contrast checker → · Palette generator →

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