#391865#391865

#391865 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.6% C 0.127 H 298.0°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#391865
RGBrgb(57, 24, 101)
HSLhsl(266, 62%, 25%)
HSVhsv(266, 76%, 40%)
CMYKcmyk(43.6%, 76.2%, 0%, 60.4%)
CIE-LABlab(17.75, 33.55, -39.16)
CIE-LCHlch(17.75, 51.56, 310.59°)
OKLaboklab(30.59% 0.0595 -0.1119)
OKLCHoklch(30.59% 0.127 298)
XYZxyz(4.3623, 2.4626, 12.5549)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391865 #446518
analogous
#181E65 #391865 #601865
triadic
#391865 #653918 #186539
tetradic
#391865 #65181E #446518 #186560
square
#391865 #65181E #446518 #186560
split-complementary
#391865 #656018 #1E6518
monochromatic
#0E0619 #1D0C34 #391865 #552496 #7130C8

Accessibility & contrast

On white

14.07
#391865 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#391865 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391865
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391865#FFFFFF#000000##FFFFFF
##3918651.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C67
Deuteranopia (green-blind)
#002B63
Tritanopia (blue-blind)
#2E2B3D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #391865;
/* rgb */ color: rgb(57, 24, 101);
/* oklch */ color: oklch(30.6% 0.127 298.0);
Tailwind
colors: {
  custom: {
    50: '#745892',
    500: '#391865',
    950: '#000000',
  },
}
SCSS
$custom: #391865;
$custom-light: #745892;
$custom-dark: #000000;
JSON
{
  "hex": "#391865",
  "rgb": {
    "r": 57,
    "g": 24,
    "b": 101
  },
  "hsl": {
    "h": 265.714,
    "s": 61.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.30588,
    "c": 0.12673,
    "h": 298
  },
  "luminance": 0.02463
}

Semantic roles & 50–950 ramp

primary
#391865
secondary
#739B3E
accent
#E5439F
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #391865

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

Preview Lab → · Contrast checker → · Palette generator →

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