#391673#391673

#391673 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.7% C 0.146 H 293.2°. Best body text is #FFFFFF at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#391673
RGBrgb(57, 22, 115)
HSLhsl(263, 68%, 27%)
HSVhsv(263, 81%, 45%)
CMYKcmyk(50.4%, 80.9%, 0%, 54.9%)
CIE-LABlab(18.72, 38.54, -46.70)
CIE-LCHlch(18.72, 60.54, 309.53°)
OKLaboklab(31.68% 0.0576 -0.134)
OKLCHoklch(31.68% 0.146 293.2)
XYZxyz(5.0679, 2.6813, 16.4669)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391673 #507316
analogous
#162173 #391673 #681673
triadic
#391673 #733916 #167339
tetradic
#391673 #731621 #507316 #167368
square
#391673 #731621 #507316 #167368
split-complementary
#391673 #736816 #217316
monochromatic
#0D051A #200C40 #391673 #5220A6 #6D2DD7

Accessibility & contrast

On white

13.67
#391673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#391673 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391673
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391673#FFFFFF#000000##FFFFFF
##3916731.0013.671.5413.67
#FFFFFF13.671.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F76
Deuteranopia (green-blind)
#002C71
Tritanopia (blue-blind)
#273044
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #391673;
/* rgb */ color: rgb(57, 22, 115);
/* oklch */ color: oklch(31.7% 0.146 293.2);
Tailwind
colors: {
  custom: {
    50: '#76589c',
    500: '#391673',
    950: '#000000',
  },
}
SCSS
$custom: #391673;
$custom-light: #76589c;
$custom-dark: #000000;
JSON
{
  "hex": "#391673",
  "rgb": {
    "r": 57,
    "g": 22,
    "b": 115
  },
  "hsl": {
    "h": 262.581,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.31679,
    "c": 0.14585,
    "h": 293.2
  },
  "luminance": 0.02681
}

Semantic roles & 50–950 ramp

primary
#391673
secondary
#80A93C
accent
#EB3DA9
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #391673

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

Preview Lab → · Contrast checker → · Palette generator →

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