#5F23BD#5F23BD

#5F23BD is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.5% C 0.216 H 292.8°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#5F23BD
RGBrgb(95, 35, 189)
HSLhsl(263, 69%, 44%)
HSVhsv(263, 81%, 74%)
CMYKcmyk(49.7%, 81.5%, 0%, 25.9%)
CIE-LABlab(32.50, 58.14, -69.42)
CIE-LCHlch(32.50, 90.54, 309.95°)
OKLaboklab(44.48% 0.084 -0.1994)
OKLCHoklch(44.48% 0.216 292.8)
XYZxyz(14.5031, 7.3086, 48.7808)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F23BD #81BD23
analogous
#2334BD #5F23BD #AC23BD
triadic
#5F23BD #BD5F23 #23BD5F
tetradic
#5F23BD #BD2334 #81BD23 #23BDAC
square
#5F23BD #BD2334 #81BD23 #23BDAC
split-complementary
#5F23BD #BDAC23 #34BD23
monochromatic
#2B1056 #451989 #5F23BD #7E41DC #A175E5

Accessibility & contrast

On white

8.53
#5F23BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#5F23BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F23BD
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F23BD#FFFFFF#000000##FFFFFF
##5F23BD1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC1
Deuteranopia (green-blind)
#0049BA
Tritanopia (blue-blind)
#405172
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5f23bd;
/* rgb */ color: rgb(95, 35, 189);
/* oklch */ color: oklch(44.5% 0.216 292.8);
Tailwind
colors: {
  custom: {
    50: '#9667d2',
    500: '#5f23bd',
    950: '#000000',
  },
}
SCSS
$custom: #5f23bd;
$custom-light: #9667d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5f23bd",
  "rgb": {
    "r": 95,
    "g": 35,
    "b": 189
  },
  "hsl": {
    "h": 263.377,
    "s": 68.75,
    "l": 43.922
  },
  "oklch": {
    "l": 0.44484,
    "c": 0.21633,
    "h": 292.8
  },
  "luminance": 0.07309
}

Semantic roles & 50–950 ramp

primary
#5F23BD
secondary
#A8CD6F
accent
#EC3CA7
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0F0614
muted
#7E7A83

Preview Lab

Preview with #5F23BD

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

Preview Lab → · Contrast checker → · Palette generator →

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