#5F49AF#5F49AF

#5F49AF is a mid, vivid violet. Relative luminance 0.103; OKLCH L 48.3% C 0.156 H 289.2°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#5F49AF
RGBrgb(95, 73, 175)
HSLhsl(253, 41%, 49%)
HSVhsv(253, 58%, 69%)
CMYKcmyk(45.7%, 58.3%, 0%, 31.4%)
CIE-LABlab(38.36, 34.90, -51.58)
CIE-LCHlch(38.36, 62.27, 304.09°)
OKLaboklab(48.32% 0.0511 -0.1471)
OKLCHoklch(48.32% 0.156 289.2)
XYZxyz(14.8375, 10.2926, 41.7540)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F49AF #99AF49
analogous
#4966AF #5F49AF #9249AF
triadic
#5F49AF #AF5F49 #49AF5F
tetradic
#5F49AF #AF4966 #99AF49 #49AF92
square
#5F49AF #AF4966 #99AF49 #49AF92
split-complementary
#5F49AF #AF9249 #66AF49
monochromatic
#302559 #483784 #5F49AF #8371C4 #A99CD6

Accessibility & contrast

On white

6.87
#5F49AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#5F49AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F49AF
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F49AF#FFFFFF#000000##FFFFFF
##5F49AF1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB2
Deuteranopia (green-blind)
#0558AD
Tritanopia (blue-blind)
#466075
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5f49af;
/* rgb */ color: rgb(95, 73, 175);
/* oklch */ color: oklch(48.3% 0.156 289.2);
Tailwind
colors: {
  custom: {
    50: '#927cc8',
    500: '#5f49af',
    950: '#000000',
  },
}
SCSS
$custom: #5f49af;
$custom-light: #927cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#5f49af",
  "rgb": {
    "r": 95,
    "g": 73,
    "b": 175
  },
  "hsl": {
    "h": 252.941,
    "s": 41.129,
    "l": 48.627
  },
  "oklch": {
    "l": 0.4832,
    "c": 0.15576,
    "h": 289.2
  },
  "luminance": 0.10293
}

Semantic roles & 50–950 ramp

primary
#5F49AF
secondary
#B8C291
accent
#D157B7
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0D0913
muted
#7E7B82

Preview Lab

Preview with #5F49AF

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

Preview Lab → · Contrast checker → · Palette generator →

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