#391264#391264

#391264 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.8% C 0.133 H 299.7°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#391264
RGBrgb(57, 18, 100)
HSLhsl(269, 69%, 23%)
HSVhsv(269, 82%, 39%)
CMYKcmyk(43%, 82%, 0%, 60.8%)
CIE-LABlab(16.61, 36.24, -40.35)
CIE-LCHlch(16.61, 54.23, 311.93°)
OKLaboklab(29.76% 0.0657 -0.1154)
OKLCHoklch(29.76% 0.133 299.7)
XYZxyz(4.2033, 2.2225, 12.2617)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391264 #3D6412
analogous
#121464 #391264 #621264
triadic
#391264 #643912 #126439
tetradic
#391264 #641214 #3D6412 #126462
square
#391264 #641214 #3D6412 #126462
split-complementary
#391264 #646212 #146412
monochromatic
#0F051A #1B0930 #391264 #571B98 #7425CC

Accessibility & contrast

On white

14.54
#391264 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391264
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391264#FFFFFF#000000##FFFFFF
##3912641.0014.541.4414.54
#FFFFFF14.541.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002966
Deuteranopia (green-blind)
#002862
Tritanopia (blue-blind)
#2F283B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #391264;
/* rgb */ color: rgb(57, 18, 100);
/* oklch */ color: oklch(29.8% 0.133 299.7);
Tailwind
colors: {
  custom: {
    50: '#745591',
    500: '#391264',
    950: '#000000',
  },
}
SCSS
$custom: #391264;
$custom-light: #745591;
$custom-dark: #000000;
JSON
{
  "hex": "#391264",
  "rgb": {
    "r": 57,
    "g": 18,
    "b": 100
  },
  "hsl": {
    "h": 268.537,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.29761,
    "c": 0.13276,
    "h": 299.7
  },
  "luminance": 0.02223
}

Semantic roles & 50–950 ramp

primary
#391264
secondary
#6B9C36
accent
#EC3B98
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #391264

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

Preview Lab → · Contrast checker → · Palette generator →

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