#391765#391765

#391765 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.5% C 0.128 H 298.2°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#391765
RGBrgb(57, 23, 101)
HSLhsl(266, 63%, 24%)
HSVhsv(266, 77%, 40%)
CMYKcmyk(43.6%, 77.2%, 0%, 60.4%)
CIE-LABlab(17.56, 34.07, -39.46)
CIE-LCHlch(17.56, 52.14, 310.81°)
OKLaboklab(30.46% 0.0605 -0.1128)
OKLCHoklch(30.46% 0.128 298.2)
XYZxyz(4.3421, 2.4222, 12.5482)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391765 #436517
analogous
#171C65 #391765 #601765
triadic
#391765 #653917 #176539
tetradic
#391765 #65171C #436517 #176560
square
#391765 #65171C #436517 #176560
split-complementary
#391765 #656017 #1C6517
monochromatic
#0E0619 #1D0C33 #391765 #552297 #712EC9

Accessibility & contrast

On white

14.15
#391765 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#391765 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391765
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391765#FFFFFF#000000##FFFFFF
##3917651.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B67
Deuteranopia (green-blind)
#002A63
Tritanopia (blue-blind)
#2E2B3C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #391765;
/* rgb */ color: rgb(57, 23, 101);
/* oklch */ color: oklch(30.5% 0.128 298.2);
Tailwind
colors: {
  custom: {
    50: '#745892',
    500: '#391765',
    950: '#000000',
  },
}
SCSS
$custom: #391765;
$custom-light: #745892;
$custom-dark: #000000;
JSON
{
  "hex": "#391765",
  "rgb": {
    "r": 57,
    "g": 23,
    "b": 101
  },
  "hsl": {
    "h": 266.154,
    "s": 62.903,
    "l": 24.314
  },
  "oklch": {
    "l": 0.30457,
    "c": 0.12801,
    "h": 298.2
  },
  "luminance": 0.02422
}

Semantic roles & 50–950 ramp

primary
#391765
secondary
#729B3C
accent
#E6429E
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #391765

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

Preview Lab → · Contrast checker → · Palette generator →

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