#391869#391869

#391869 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.0% C 0.132 H 296.4°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#391869
RGBrgb(57, 24, 105)
HSLhsl(264, 63%, 25%)
HSVhsv(264, 77%, 41%)
CMYKcmyk(45.7%, 77.1%, 0%, 58.8%)
CIE-LABlab(18.11, 34.69, -41.19)
CIE-LCHlch(18.11, 53.85, 310.10°)
OKLaboklab(30.96% 0.0586 -0.1179)
OKLCHoklch(30.96% 0.132 296.4)
XYZxyz(4.5631, 2.5429, 13.6123)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391869 #486918
analogous
#182069 #391869 #611869
triadic
#391869 #693918 #186939
tetradic
#391869 #691820 #486918 #186961
square
#391869 #691820 #486918 #186961
split-complementary
#391869 #696118 #206918
monochromatic
#0E0619 #1E0D37 #391869 #54239B #6F2FCD

Accessibility & contrast

On white

13.92
#391869 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#391869 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391869
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391869#FFFFFF#000000##FFFFFF
##3918691.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6B
Deuteranopia (green-blind)
#002B67
Tritanopia (blue-blind)
#2C2D3F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #391869;
/* rgb */ color: rgb(57, 24, 105);
/* oklch */ color: oklch(31.0% 0.132 296.4);
Tailwind
colors: {
  custom: {
    50: '#755895',
    500: '#391869',
    950: '#000000',
  },
}
SCSS
$custom: #391869;
$custom-light: #755895;
$custom-dark: #000000;
JSON
{
  "hex": "#391869",
  "rgb": {
    "r": 57,
    "g": 24,
    "b": 105
  },
  "hsl": {
    "h": 264.444,
    "s": 62.791,
    "l": 25.294
  },
  "oklch": {
    "l": 0.30958,
    "c": 0.13162,
    "h": 296.4
  },
  "luminance": 0.02543
}

Semantic roles & 50–950 ramp

primary
#391869
secondary
#779F3E
accent
#E642A3
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #391869

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

Preview Lab → · Contrast checker → · Palette generator →

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