#391455#391455

#391455 is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.6% C 0.113 H 306.5°. Best body text is #FFFFFF at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#391455
RGBrgb(57, 20, 85)
HSLhsl(274, 62%, 21%)
HSVhsv(274, 76%, 33%)
CMYKcmyk(32.9%, 76.5%, 0%, 66.7%)
CIE-LABlab(15.62, 31.25, -31.93)
CIE-LCHlch(15.62, 44.68, 314.38°)
OKLaboklab(28.65% 0.0672 -0.0906)
OKLCHoklch(28.65% 0.113 306.5)
XYZxyz(3.5768, 2.0261, 8.7952)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391455 #305514
analogous
#181455 #391455 #551450
triadic
#391455 #553914 #145539
tetradic
#391455 #551814 #305514 #145055
square
#391455 #551814 #305514 #145055
split-complementary
#391455 #505514 #145518
monochromatic
#110619 #180823 #391455 #5A2087 #7B2BB8

Accessibility & contrast

On white

14.94
#391455 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#391455 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391455
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391455#FFFFFF#000000##FFFFFF
##3914551.0014.941.4114.94
#FFFFFF14.941.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002657
Deuteranopia (green-blind)
#012754
Tritanopia (blue-blind)
#342333
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #391455;
/* rgb */ color: rgb(57, 20, 85);
/* oklch */ color: oklch(28.6% 0.113 306.5);
Tailwind
colors: {
  custom: {
    50: '#735585',
    500: '#391455',
    950: '#000000',
  },
}
SCSS
$custom: #391455;
$custom-light: #735585;
$custom-dark: #000000;
JSON
{
  "hex": "#391455",
  "rgb": {
    "r": 57,
    "g": 20,
    "b": 85
  },
  "hsl": {
    "h": 274.154,
    "s": 61.905,
    "l": 20.588
  },
  "oklch": {
    "l": 0.28646,
    "c": 0.11283,
    "h": 306.5
  },
  "luminance": 0.02026
}

Semantic roles & 50–950 ramp

primary
#391455
secondary
#5C8D38
accent
#E54389
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #391455

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

Preview Lab → · Contrast checker → · Palette generator →

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