#391276#391276

#391276 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.6% C 0.153 H 292.9°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#391276
RGBrgb(57, 18, 118)
HSLhsl(263, 74%, 27%)
HSVhsv(263, 85%, 46%)
CMYKcmyk(51.7%, 84.7%, 0%, 53.7%)
CIE-LABlab(18.41, 41.16, -49.14)
CIE-LCHlch(18.41, 64.10, 309.95°)
OKLaboklab(31.56% 0.0596 -0.1411)
OKLCHoklch(31.56% 0.153 292.9)
XYZxyz(5.1727, 2.6103, 17.3673)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391276 #4F7612
analogous
#121D76 #391276 #6B1276
triadic
#391276 #763912 #127639
tetradic
#391276 #76121D #4F7612 #12766B
square
#391276 #76121D #4F7612 #12766B
split-complementary
#391276 #766B12 #1D7612
monochromatic
#0D041B #1F0A41 #391276 #531AAB #6D25DE

Accessibility & contrast

On white

13.80
#391276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#391276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391276
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391276#FFFFFF#000000##FFFFFF
##3912761.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E79
Deuteranopia (green-blind)
#002B74
Tritanopia (blue-blind)
#253045
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #391276;
/* rgb */ color: rgb(57, 18, 118);
/* oklch */ color: oklch(31.6% 0.153 292.9);
Tailwind
colors: {
  custom: {
    50: '#77569e',
    500: '#391276',
    950: '#000000',
  },
}
SCSS
$custom: #391276;
$custom-light: #77569e;
$custom-dark: #000000;
JSON
{
  "hex": "#391276",
  "rgb": {
    "r": 57,
    "g": 18,
    "b": 118
  },
  "hsl": {
    "h": 263.4,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.31557,
    "c": 0.1532,
    "h": 292.9
  },
  "luminance": 0.0261
}

Semantic roles & 50–950 ramp

primary
#391276
secondary
#7FAD37
accent
#F038A8
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #391276

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

Preview Lab → · Contrast checker → · Palette generator →

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