#5F44C8#5F44C8

#5F44C8 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.5% C 0.194 H 286.3°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#5F44C8
RGBrgb(95, 68, 200)
HSLhsl(252, 55%, 53%)
HSVhsv(252, 66%, 78%)
CMYKcmyk(52.5%, 66%, 0%, 21.6%)
CIE-LABlab(39.13, 45.22, -64.99)
CIE-LCHlch(39.13, 79.17, 304.83°)
OKLaboklab(49.47% 0.0546 -0.1866)
OKLCHoklch(49.47% 0.194 286.3)
XYZxyz(17.2087, 10.7364, 55.7979)
Luminance0.1074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F44C8 #ADC844
analogous
#446BC8 #5F44C8 #A144C8
triadic
#5F44C8 #C85F44 #44C85F
tetradic
#5F44C8 #C8446B #ADC844 #44C8A1
square
#5F44C8 #C8446B #ADC844 #44C8A1
split-complementary
#5F44C8 #C8A144 #6BC844
monochromatic
#312171 #462FA0 #5F44C8 #8773D6 #B0A3E4

Accessibility & contrast

On white

6.67
#5F44C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#5F44C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F44C8
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F44C8#FFFFFF#000000##FFFFFF
##5F44C81.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CC
Deuteranopia (green-blind)
#0058C5
Tritanopia (blue-blind)
#356580
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5f44c8;
/* rgb */ color: rgb(95, 68, 200);
/* oklch */ color: oklch(49.5% 0.194 286.3);
Tailwind
colors: {
  custom: {
    50: '#967ada',
    500: '#5f44c8',
    950: '#000000',
  },
}
SCSS
$custom: #5f44c8;
$custom-light: #967ada;
$custom-dark: #000000;
JSON
{
  "hex": "#5f44c8",
  "rgb": {
    "r": 95,
    "g": 68,
    "b": 200
  },
  "hsl": {
    "h": 252.273,
    "s": 54.545,
    "l": 52.549
  },
  "oklch": {
    "l": 0.49468,
    "c": 0.19441,
    "h": 286.3
  },
  "luminance": 0.10737
}

Semantic roles & 50–950 ramp

primary
#5F44C8
secondary
#C5D197
accent
#DE4AC0
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5F44C8

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

Preview Lab → · Contrast checker → · Palette generator →

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