#5F448D#5F448D

#5F448D is a mid, moderate violet. Relative luminance 0.085; OKLCH L 45.1% C 0.117 H 298.7°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#5F448D
RGBrgb(95, 68, 141)
HSLhsl(262, 35%, 41%)
HSVhsv(262, 52%, 55%)
CMYKcmyk(32.6%, 51.8%, 0%, 44.7%)
CIE-LABlab(34.98, 28.21, -36.53)
CIE-LCHlch(34.98, 46.15, 307.68°)
OKLaboklab(45.11% 0.0563 -0.103)
OKLCHoklch(45.11% 0.117 298.7)
XYZxyz(11.5930, 8.4901, 26.2221)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F448D #728D44
analogous
#444D8D #5F448D #83448D
triadic
#5F448D #8D5F44 #448D5F
tetradic
#5F448D #8D444D #728D44 #448D83
square
#5F448D #8D444D #728D44 #448D83
split-complementary
#5F448D #8D8344 #4D8D44
monochromatic
#271C3A #433064 #5F448D #7C5DB1 #9E87C5

Accessibility & contrast

On white

7.78
#5F448D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#5F448D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F448D
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F448D#FFFFFF#000000##FFFFFF
##5F448D1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5290
Deuteranopia (green-blind)
#31528B
Tritanopia (blue-blind)
#555262
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5f448d;
/* rgb */ color: rgb(95, 68, 141);
/* oklch */ color: oklch(45.1% 0.117 298.7);
Tailwind
colors: {
  custom: {
    50: '#8f78af',
    500: '#5f448d',
    950: '#000000',
  },
}
SCSS
$custom: #5f448d;
$custom-light: #8f78af;
$custom-dark: #000000;
JSON
{
  "hex": "#5f448d",
  "rgb": {
    "r": 95,
    "g": 68,
    "b": 141
  },
  "hsl": {
    "h": 262.192,
    "s": 34.928,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45114,
    "c": 0.11737,
    "h": 298.7
  },
  "luminance": 0.0849
}

Semantic roles & 50–950 ramp

primary
#5F448D
secondary
#9DB07D
accent
#CB5DA2
background
#F8F7FA
surface
#F0EDF4
border
#CBC8CE
text
#0D0910
muted
#7D7B7F

Preview Lab

Preview with #5F448D

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

Preview Lab → · Contrast checker → · Palette generator →

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