#391861#391861

#391861 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.2% C 0.122 H 299.7°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#391861
RGBrgb(57, 24, 97)
HSLhsl(267, 60%, 24%)
HSVhsv(267, 75%, 38%)
CMYKcmyk(41.2%, 75.3%, 0%, 62%)
CIE-LABlab(17.40, 32.42, -37.09)
CIE-LCHlch(17.40, 49.26, 311.15°)
OKLaboklab(30.23% 0.0603 -0.1058)
OKLCHoklch(30.23% 0.122 299.7)
XYZxyz(4.1711, 2.3861, 11.5478)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391861 #406118
analogous
#181B61 #391861 #5D1861
triadic
#391861 #613918 #186139
tetradic
#391861 #61181B #406118 #18615D
square
#391861 #61181B #406118 #18615D
split-complementary
#391861 #615D18 #1B6118
monochromatic
#0E0619 #1C0C30 #391861 #562492 #7330C3

Accessibility & contrast

On white

14.22
#391861 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391861
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391861#FFFFFF#000000##FFFFFF
##3918611.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B63
Deuteranopia (green-blind)
#002A60
Tritanopia (blue-blind)
#302A3A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #391861;
/* rgb */ color: rgb(57, 24, 97);
/* oklch */ color: oklch(30.2% 0.122 299.7);
Tailwind
colors: {
  custom: {
    50: '#74588f',
    500: '#391861',
    950: '#000000',
  },
}
SCSS
$custom: #391861;
$custom-light: #74588f;
$custom-dark: #000000;
JSON
{
  "hex": "#391861",
  "rgb": {
    "r": 57,
    "g": 24,
    "b": 97
  },
  "hsl": {
    "h": 267.123,
    "s": 60.331,
    "l": 23.725
  },
  "oklch": {
    "l": 0.30228,
    "c": 0.12182,
    "h": 299.7
  },
  "luminance": 0.02386
}

Semantic roles & 50–950 ramp

primary
#391861
secondary
#6F973D
accent
#E3449C
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #391861

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

Preview Lab → · Contrast checker → · Palette generator →

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