#391675#391675

#391675 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.9% C 0.148 H 292.6°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#391675
RGBrgb(57, 22, 117)
HSLhsl(262, 68%, 27%)
HSVhsv(262, 81%, 46%)
CMYKcmyk(51.3%, 81.2%, 0%, 54.1%)
CIE-LABlab(18.92, 39.11, -47.66)
CIE-LCHlch(18.92, 61.65, 309.37°)
OKLaboklab(31.88% 0.0569 -0.1368)
OKLCHoklch(31.88% 0.148 292.6)
XYZxyz(5.1842, 2.7278, 17.0795)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391675 #527516
analogous
#162375 #391675 #681675
triadic
#391675 #753916 #167539
tetradic
#391675 #751623 #527516 #167568
square
#391675 #751623 #527516 #167568
split-complementary
#391675 #756816 #237516
monochromatic
#0D051A #200C41 #391675 #5220A9 #6C2ED8

Accessibility & contrast

On white

13.59
#391675 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#391675 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391675
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391675#FFFFFF#000000##FFFFFF
##3916751.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F78
Deuteranopia (green-blind)
#002C73
Tritanopia (blue-blind)
#263145
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #391675;
/* rgb */ color: rgb(57, 22, 117);
/* oklch */ color: oklch(31.9% 0.148 292.6);
Tailwind
colors: {
  custom: {
    50: '#77589e',
    500: '#391675',
    950: '#000000',
  },
}
SCSS
$custom: #391675;
$custom-light: #77589e;
$custom-dark: #000000;
JSON
{
  "hex": "#391675",
  "rgb": {
    "r": 57,
    "g": 22,
    "b": 117
  },
  "hsl": {
    "h": 262.105,
    "s": 68.345,
    "l": 27.255
  },
  "oklch": {
    "l": 0.31879,
    "c": 0.14819,
    "h": 292.6
  },
  "luminance": 0.02728
}

Semantic roles & 50–950 ramp

primary
#391675
secondary
#82AB3C
accent
#EB3DAB
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #391675

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

Preview Lab → · Contrast checker → · Palette generator →

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