#391773#391773

#391773 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.8% C 0.145 H 293.1°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#391773
RGBrgb(57, 23, 115)
HSLhsl(262, 67%, 27%)
HSVhsv(262, 80%, 45%)
CMYKcmyk(50.4%, 80%, 0%, 54.9%)
CIE-LABlab(18.89, 38.06, -46.42)
CIE-LCHlch(18.89, 60.03, 309.35°)
OKLaboklab(31.8% 0.0567 -0.1332)
OKLCHoklch(31.8% 0.145 293.1)
XYZxyz(5.0874, 2.7203, 16.4733)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391773 #517317
analogous
#172373 #391773 #671773
triadic
#391773 #733917 #177339
tetradic
#391773 #731723 #517317 #177367
square
#391773 #731723 #517317 #177367
split-complementary
#391773 #736717 #237317
monochromatic
#0D051A #200D40 #391773 #5221A6 #6C2FD5

Accessibility & contrast

On white

13.60
#391773 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391773
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391773#FFFFFF#000000##FFFFFF
##3917731.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.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: #391773;
/* rgb */ color: rgb(57, 23, 115);
/* oklch */ color: oklch(31.8% 0.145 293.1);
Tailwind
colors: {
  custom: {
    50: '#76589c',
    500: '#391773',
    950: '#000000',
  },
}
SCSS
$custom: #391773;
$custom-light: #76589c;
$custom-dark: #000000;
JSON
{
  "hex": "#391773",
  "rgb": {
    "r": 57,
    "g": 23,
    "b": 115
  },
  "hsl": {
    "h": 262.174,
    "s": 66.667,
    "l": 27.059
  },
  "oklch": {
    "l": 0.31796,
    "c": 0.14478,
    "h": 293.1
  },
  "luminance": 0.0272
}

Semantic roles & 50–950 ramp

primary
#391773
secondary
#81A93D
accent
#EA3EAA
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #391773

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

Preview Lab → · Contrast checker → · Palette generator →

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