#5F449C#5F449C

#5F449C is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.1% C 0.138 H 294.5°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#5F449C
RGBrgb(95, 68, 156)
HSLhsl(258, 39%, 44%)
HSVhsv(258, 56%, 61%)
CMYKcmyk(39.1%, 56.4%, 0%, 38.8%)
CIE-LABlab(35.92, 32.39, -44.15)
CIE-LCHlch(35.92, 54.76, 306.27°)
OKLaboklab(46.11% 0.0572 -0.1253)
OKLCHoklch(46.11% 0.138 294.5)
XYZxyz(12.7856, 8.9672, 32.5032)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F449C #819C44
analogous
#44559C #5F449C #8B449C
triadic
#5F449C #9C5F44 #449C5F
tetradic
#5F449C #9C4455 #819C44 #449C8B
square
#5F449C #9C4455 #819C44 #449C8B
split-complementary
#5F449C #9C8B44 #559C44
monochromatic
#2B1F47 #453171 #5F449C #7E62BB #A18DCD

Accessibility & contrast

On white

7.52
#5F449C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F449C
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F449C#FFFFFF#000000##FFFFFF
##5F449C1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A559F
Deuteranopia (green-blind)
#22539A
Tritanopia (blue-blind)
#505669
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5f449c;
/* rgb */ color: rgb(95, 68, 156);
/* oklch */ color: oklch(46.1% 0.138 294.5);
Tailwind
colors: {
  custom: {
    50: '#9079ba',
    500: '#5f449c',
    950: '#000000',
  },
}
SCSS
$custom: #5f449c;
$custom-light: #9079ba;
$custom-dark: #000000;
JSON
{
  "hex": "#5f449c",
  "rgb": {
    "r": 95,
    "g": 68,
    "b": 156
  },
  "hsl": {
    "h": 258.409,
    "s": 39.286,
    "l": 43.922
  },
  "oklch": {
    "l": 0.46111,
    "c": 0.13774,
    "h": 294.5
  },
  "luminance": 0.08967
}

Semantic roles & 50–950 ramp

primary
#5F449C
secondary
#A8B983
accent
#CF59AB
background
#F9F7FB
surface
#F1EDF6
border
#CBC8D0
text
#0D0912
muted
#7E7B81

Preview Lab

Preview with #5F449C

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

Preview Lab → · Contrast checker → · Palette generator →

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