#5F43BB#5F43BB

#5F43BB is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.3% C 0.179 H 288.5°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#5F43BB
RGBrgb(95, 67, 187)
HSLhsl(254, 47%, 50%)
HSVhsv(254, 64%, 73%)
CMYKcmyk(49.2%, 64.2%, 0%, 26.7%)
CIE-LABlab(37.90, 41.96, -59.40)
CIE-LCHlch(37.90, 72.72, 305.24°)
OKLaboklab(48.26% 0.0571 -0.1701)
OKLCHoklch(48.26% 0.179 288.5)
XYZxyz(15.6935, 10.0344, 48.1140)
Luminance0.1003 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F43BB #9FBB43
analogous
#4363BB #5F43BB #9B43BB
triadic
#5F43BB #BB5F43 #43BB5F
tetradic
#5F43BB #BB4363 #9FBB43 #43BB9B
square
#5F43BB #BB4363 #9FBB43 #43BB9B
split-complementary
#5F43BB #BB9B43 #63BB43
monochromatic
#312361 #48338E #5F43BB #8570CC #AB9DDC

Accessibility & contrast

On white

6.98
#5F43BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#5F43BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F43BB
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F43BB#FFFFFF#000000##FFFFFF
##5F43BB1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBF
Deuteranopia (green-blind)
#0056B9
Tritanopia (blue-blind)
#406079
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5f43bb;
/* rgb */ color: rgb(95, 67, 187);
/* oklch */ color: oklch(48.3% 0.179 288.5);
Tailwind
colors: {
  custom: {
    50: '#9479d0',
    500: '#5f43bb',
    950: '#000000',
  },
}
SCSS
$custom: #5f43bb;
$custom-light: #9479d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5f43bb",
  "rgb": {
    "r": 95,
    "g": 67,
    "b": 187
  },
  "hsl": {
    "h": 254,
    "s": 47.244,
    "l": 49.804
  },
  "oklch": {
    "l": 0.48261,
    "c": 0.17947,
    "h": 288.5
  },
  "luminance": 0.10035
}

Semantic roles & 50–950 ramp

primary
#5F43BB
secondary
#BBC892
accent
#D751B8
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #5F43BB

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

Preview Lab → · Contrast checker → · Palette generator →

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