#5F449B#5F449B

#5F449B is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.0% C 0.136 H 294.8°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#5F449B
RGBrgb(95, 68, 155)
HSLhsl(259, 39%, 44%)
HSVhsv(259, 56%, 61%)
CMYKcmyk(38.7%, 56.1%, 0%, 39.2%)
CIE-LABlab(35.86, 32.11, -43.65)
CIE-LCHlch(35.86, 54.19, 306.34°)
OKLaboklab(46.04% 0.0572 -0.1238)
OKLCHoklch(46.04% 0.136 294.8)
XYZxyz(12.7013, 8.9334, 32.0591)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F449B #809B44
analogous
#44549B #5F449B #8A449B
triadic
#5F449B #9B5F44 #449B5F
tetradic
#5F449B #9B4454 #809B44 #449B8A
square
#5F449B #9B4454 #809B44 #449B8A
split-complementary
#5F449B #9B8A44 #549B44
monochromatic
#2B1F46 #453170 #5F449B #7D62BA #A18DCD

Accessibility & contrast

On white

7.54
#5F449B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#5F449B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F449B
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F449B#FFFFFF#000000##FFFFFF
##5F449B1.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B559E
Deuteranopia (green-blind)
#235399
Tritanopia (blue-blind)
#505669
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5f449b;
/* rgb */ color: rgb(95, 68, 155);
/* oklch */ color: oklch(46.0% 0.136 294.8);
Tailwind
colors: {
  custom: {
    50: '#9079b9',
    500: '#5f449b',
    950: '#000000',
  },
}
SCSS
$custom: #5f449b;
$custom-light: #9079b9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f449b",
  "rgb": {
    "r": 95,
    "g": 68,
    "b": 155
  },
  "hsl": {
    "h": 258.621,
    "s": 39.013,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46042,
    "c": 0.1364,
    "h": 294.8
  },
  "luminance": 0.08934
}

Semantic roles & 50–950 ramp

primary
#5F449B
secondary
#A8B883
accent
#CF59AA
background
#F9F7FB
surface
#F1EDF6
border
#CBC8D0
text
#0D0911
muted
#7E7B80

Preview Lab

Preview with #5F449B

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

Preview Lab → · Contrast checker → · Palette generator →

#5F449B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva