#391068#391068

#391068 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.9% C 0.139 H 298.3°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#391068
RGBrgb(57, 16, 104)
HSLhsl(268, 73%, 24%)
HSVhsv(268, 85%, 41%)
CMYKcmyk(45.2%, 84.6%, 0%, 59.2%)
CIE-LABlab(16.70, 38.19, -42.85)
CIE-LCHlch(16.70, 57.40, 311.71°)
OKLaboklab(29.94% 0.0662 -0.1227)
OKLCHoklch(29.94% 0.139 298.3)
XYZxyz(4.3707, 2.2398, 13.2961)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391068 #3F6810
analogous
#101368 #391068 #651068
triadic
#391068 #683910 #106839
tetradic
#391068 #681013 #3F6810 #106865
square
#391068 #681013 #3F6810 #106865
split-complementary
#391068 #686510 #136810
monochromatic
#0F041B #1C0833 #391068 #56189D #7320D2

Accessibility & contrast

On white

14.50
#391068 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#391068 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391068
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391068#FFFFFF#000000##FFFFFF
##3910681.0014.501.4514.50
#FFFFFF14.501.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296A
Deuteranopia (green-blind)
#002866
Tritanopia (blue-blind)
#2D293C
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #391068;
/* rgb */ color: rgb(57, 16, 104);
/* oklch */ color: oklch(29.9% 0.139 298.3);
Tailwind
colors: {
  custom: {
    50: '#755494',
    500: '#391068',
    950: '#000000',
  },
}
SCSS
$custom: #391068;
$custom-light: #755494;
$custom-dark: #000000;
JSON
{
  "hex": "#391068",
  "rgb": {
    "r": 57,
    "g": 16,
    "b": 104
  },
  "hsl": {
    "h": 267.955,
    "s": 73.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.29939,
    "c": 0.13937,
    "h": 298.3
  },
  "luminance": 0.0224
}

Semantic roles & 50–950 ramp

primary
#391068
secondary
#6EA034
accent
#F0389A
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #391068

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

Preview Lab → · Contrast checker → · Palette generator →

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