#391867#391867

#391867 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.8% C 0.129 H 297.2°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#391867
RGBrgb(57, 24, 103)
HSLhsl(265, 62%, 25%)
HSVhsv(265, 77%, 40%)
CMYKcmyk(44.7%, 76.7%, 0%, 59.6%)
CIE-LABlab(17.93, 34.12, -40.18)
CIE-LCHlch(17.93, 52.71, 310.34°)
OKLaboklab(30.77% 0.059 -0.1149)
OKLCHoklch(30.77% 0.129 297.2)
XYZxyz(4.4615, 2.5023, 13.0773)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391867 #466718
analogous
#181F67 #391867 #601867
triadic
#391867 #673918 #186739
tetradic
#391867 #67181F #466718 #186760
square
#391867 #67181F #466718 #186760
split-complementary
#391867 #676018 #1F6718
monochromatic
#0E0619 #1E0C35 #391867 #542499 #702FCA

Accessibility & contrast

On white

14.00
#391867 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#391867 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391867
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391867#FFFFFF#000000##FFFFFF
##3918671.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C69
Deuteranopia (green-blind)
#002B65
Tritanopia (blue-blind)
#2D2C3E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #391867;
/* rgb */ color: rgb(57, 24, 103);
/* oklch */ color: oklch(30.8% 0.129 297.2);
Tailwind
colors: {
  custom: {
    50: '#745893',
    500: '#391867',
    950: '#000000',
  },
}
SCSS
$custom: #391867;
$custom-light: #745893;
$custom-dark: #000000;
JSON
{
  "hex": "#391867",
  "rgb": {
    "r": 57,
    "g": 24,
    "b": 103
  },
  "hsl": {
    "h": 265.063,
    "s": 62.205,
    "l": 24.902
  },
  "oklch": {
    "l": 0.30772,
    "c": 0.12918,
    "h": 297.2
  },
  "luminance": 0.02502
}

Semantic roles & 50–950 ramp

primary
#391867
secondary
#759D3E
accent
#E543A1
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #391867

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

Preview Lab → · Contrast checker → · Palette generator →

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