#391362#391362

#391362 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.7% C 0.129 H 300.3°. Best body text is #FFFFFF at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#391362
RGBrgb(57, 19, 98)
HSLhsl(269, 68%, 23%)
HSVhsv(269, 81%, 38%)
CMYKcmyk(41.8%, 80.6%, 0%, 61.6%)
CIE-LABlab(16.59, 35.23, -39.07)
CIE-LCHlch(16.59, 52.61, 312.04°)
OKLaboklab(29.69% 0.0653 -0.1116)
OKLCHoklch(29.69% 0.129 300.3)
XYZxyz(4.1243, 2.2174, 11.7636)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391362 #3C6213
analogous
#131462 #391362 #601362
triadic
#391362 #623913 #136239
tetradic
#391362 #621314 #3C6213 #136260
square
#391362 #621314 #3C6213 #136260
split-complementary
#391362 #626013 #146213
monochromatic
#0F051A #1B092F #391362 #571D95 #7527C9

Accessibility & contrast

On white

14.55
#391362 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#391362 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391362
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391362#FFFFFF#000000##FFFFFF
##3913621.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002964
Deuteranopia (green-blind)
#002860
Tritanopia (blue-blind)
#30283A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #391362;
/* rgb */ color: rgb(57, 19, 98);
/* oklch */ color: oklch(29.7% 0.129 300.3);
Tailwind
colors: {
  custom: {
    50: '#74558f',
    500: '#391362',
    950: '#000000',
  },
}
SCSS
$custom: #391362;
$custom-light: #74558f;
$custom-dark: #000000;
JSON
{
  "hex": "#391362",
  "rgb": {
    "r": 57,
    "g": 19,
    "b": 98
  },
  "hsl": {
    "h": 268.861,
    "s": 67.521,
    "l": 22.941
  },
  "oklch": {
    "l": 0.29686,
    "c": 0.12932,
    "h": 300.3
  },
  "luminance": 0.02217
}

Semantic roles & 50–950 ramp

primary
#391362
secondary
#6A9A37
accent
#EA3D97
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #391362

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

Preview Lab → · Contrast checker → · Palette generator →

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