#391250#391250

#391250 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 28.0% C 0.110 H 309.9°. Best body text is #FFFFFF at 15.26:1 contrast (WCAG AA passes).

Color values

HEX#391250
RGBrgb(57, 18, 80)
HSLhsl(278, 63%, 19%)
HSVhsv(278, 78%, 31%)
CMYKcmyk(28.8%, 77.5%, 0%, 68.6%)
CIE-LABlab(14.85, 30.97, -29.78)
CIE-LCHlch(14.85, 42.96, 316.12°)
OKLaboklab(27.97% 0.0704 -0.0843)
OKLCHoklch(27.97% 0.11 309.9)
XYZxyz(3.3513, 1.8817, 7.7745)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391250 #295012
analogous
#1A1250 #391250 #501248
triadic
#391250 #503912 #125039
tetradic
#391250 #501A12 #295012 #124850
square
#391250 #501A12 #295012 #124850
split-complementary
#391250 #485012 #12501A
monochromatic
#120619 #15071E #391250 #5D1D82 #8028B4

Accessibility & contrast

On white

15.26
#391250 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#391250 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391250
15.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391250#FFFFFF#000000##FFFFFF
##3912501.0015.261.3815.26
#FFFFFF15.261.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002452
Deuteranopia (green-blind)
#06264F
Tritanopia (blue-blind)
#36202F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #391250;
/* rgb */ color: rgb(57, 18, 80);
/* oklch */ color: oklch(28.0% 0.110 309.9);
Tailwind
colors: {
  custom: {
    50: '#725481',
    500: '#391250',
    950: '#000000',
  },
}
SCSS
$custom: #391250;
$custom-light: #725481;
$custom-dark: #000000;
JSON
{
  "hex": "#391250",
  "rgb": {
    "r": 57,
    "g": 18,
    "b": 80
  },
  "hsl": {
    "h": 277.742,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.27969,
    "c": 0.10981,
    "h": 309.9
  },
  "luminance": 0.01882
}

Semantic roles & 50–950 ramp

primary
#391250
secondary
#548935
accent
#E6417F
background
#F7F4F7
surface
#EDE8EE
border
#C8C4C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #391250

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

Preview Lab → · Contrast checker → · Palette generator →

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