#391862#391862

#391862 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.3% C 0.123 H 299.3°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#391862
RGBrgb(57, 24, 98)
HSLhsl(267, 61%, 24%)
HSVhsv(267, 76%, 38%)
CMYKcmyk(41.8%, 75.5%, 0%, 61.6%)
CIE-LABlab(17.48, 32.70, -37.61)
CIE-LCHlch(17.48, 49.84, 311.00°)
OKLaboklab(30.32% 0.0601 -0.1074)
OKLCHoklch(30.32% 0.123 299.3)
XYZxyz(4.2180, 2.4049, 11.7949)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391862 #416218
analogous
#181C62 #391862 #5E1862
triadic
#391862 #623918 #186239
tetradic
#391862 #62181C #416218 #18625E
square
#391862 #62181C #416218 #18625E
split-complementary
#391862 #625E18 #1C6218
monochromatic
#0E0619 #1C0C31 #391862 #562493 #7230C4

Accessibility & contrast

On white

14.18
#391862 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391862
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391862#FFFFFF#000000##FFFFFF
##3918621.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B64
Deuteranopia (green-blind)
#002A60
Tritanopia (blue-blind)
#2F2A3B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #391862;
/* rgb */ color: rgb(57, 24, 98);
/* oklch */ color: oklch(30.3% 0.123 299.3);
Tailwind
colors: {
  custom: {
    50: '#74588f',
    500: '#391862',
    950: '#000000',
  },
}
SCSS
$custom: #391862;
$custom-light: #74588f;
$custom-dark: #000000;
JSON
{
  "hex": "#391862",
  "rgb": {
    "r": 57,
    "g": 24,
    "b": 98
  },
  "hsl": {
    "h": 266.757,
    "s": 60.656,
    "l": 23.922
  },
  "oklch": {
    "l": 0.30317,
    "c": 0.12305,
    "h": 299.3
  },
  "luminance": 0.02405
}

Semantic roles & 50–950 ramp

primary
#391862
secondary
#70983E
accent
#E4449D
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #391862

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

Preview Lab → · Contrast checker → · Palette generator →

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