#391275#391275

#391275 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.5% C 0.152 H 293.2°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#391275
RGBrgb(57, 18, 117)
HSLhsl(264, 73%, 26%)
HSVhsv(264, 85%, 46%)
CMYKcmyk(51.3%, 84.6%, 0%, 54.1%)
CIE-LABlab(18.31, 40.89, -48.66)
CIE-LCHlch(18.31, 63.56, 310.04°)
OKLaboklab(31.45% 0.06 -0.1397)
OKLCHoklch(31.45% 0.152 293.2)
XYZxyz(5.1136, 2.5866, 17.0560)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391275 #4E7512
analogous
#121D75 #391275 #6B1275
triadic
#391275 #753912 #127539
tetradic
#391275 #75121D #4E7512 #12756B
square
#391275 #75121D #4E7512 #12756B
split-complementary
#391275 #756B12 #1D7512
monochromatic
#0D041B #1F0A40 #391275 #531AAA #6D24DD

Accessibility & contrast

On white

13.84
#391275 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391275
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391275#FFFFFF#000000##FFFFFF
##3912751.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E78
Deuteranopia (green-blind)
#002B73
Tritanopia (blue-blind)
#262F44
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #391275;
/* rgb */ color: rgb(57, 18, 117);
/* oklch */ color: oklch(31.5% 0.152 293.2);
Tailwind
colors: {
  custom: {
    50: '#77569e',
    500: '#391275',
    950: '#000000',
  },
}
SCSS
$custom: #391275;
$custom-light: #77569e;
$custom-dark: #000000;
JSON
{
  "hex": "#391275",
  "rgb": {
    "r": 57,
    "g": 18,
    "b": 117
  },
  "hsl": {
    "h": 263.636,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.31453,
    "c": 0.15206,
    "h": 293.2
  },
  "luminance": 0.02587
}

Semantic roles & 50–950 ramp

primary
#391275
secondary
#7EAC37
accent
#F038A7
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #391275

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

Preview Lab → · Contrast checker → · Palette generator →

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