#391175#391175

#391175 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.4% C 0.153 H 293.4°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#391175
RGBrgb(57, 17, 117)
HSLhsl(264, 75%, 26%)
HSVhsv(264, 85%, 46%)
CMYKcmyk(51.3%, 85.5%, 0%, 54.1%)
CIE-LABlab(18.17, 41.30, -48.90)
CIE-LCHlch(18.17, 64.00, 310.18°)
OKLaboklab(31.36% 0.0607 -0.1404)
OKLCHoklch(31.36% 0.153 293.4)
XYZxyz(5.0978, 2.5549, 17.0507)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391175 #4D7511
analogous
#111B75 #391175 #6B1175
triadic
#391175 #753911 #117539
tetradic
#391175 #75111B #4D7511 #11756B
square
#391175 #75111B #4D7511 #11756B
split-complementary
#391175 #756B11 #1B7511
monochromatic
#0D041B #1F0940 #391175 #5319AA #6D22DF

Accessibility & contrast

On white

13.90
#391175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#391175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391175
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391175#FFFFFF#000000##FFFFFF
##3911751.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D78
Deuteranopia (green-blind)
#002B73
Tritanopia (blue-blind)
#262F44
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #391175;
/* rgb */ color: rgb(57, 17, 117);
/* oklch */ color: oklch(31.4% 0.153 293.4);
Tailwind
colors: {
  custom: {
    50: '#77569e',
    500: '#391175',
    950: '#000000',
  },
}
SCSS
$custom: #391175;
$custom-light: #77569e;
$custom-dark: #000000;
JSON
{
  "hex": "#391175",
  "rgb": {
    "r": 57,
    "g": 17,
    "b": 117
  },
  "hsl": {
    "h": 264,
    "s": 74.627,
    "l": 26.275
  },
  "oklch": {
    "l": 0.31356,
    "c": 0.15296,
    "h": 293.4
  },
  "luminance": 0.02555
}

Semantic roles & 50–950 ramp

primary
#391175
secondary
#7DAC36
accent
#F137A7
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #391175

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

Preview Lab → · Contrast checker → · Palette generator →

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