#4F23AE#4F23AE

#4F23AE is a dark, highly saturated violet. Relative luminance 0.059; OKLCH L 41.3% C 0.200 H 288.7°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#4F23AE
RGBrgb(79, 35, 174)
HSLhsl(259, 67%, 41%)
HSVhsv(259, 80%, 68%)
CMYKcmyk(54.6%, 79.9%, 0%, 31.8%)
CIE-LABlab(29.21, 52.17, -65.98)
CIE-LCHlch(29.21, 84.11, 308.33°)
OKLaboklab(41.35% 0.0642 -0.1898)
OKLCHoklch(41.35% 0.2 288.7)
XYZxyz(11.4632, 5.9198, 40.5748)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F23AE #82AE23
analogous
#233CAE #4F23AE #9423AE
triadic
#4F23AE #AE4F23 #23AE4F
tetradic
#4F23AE #AE233C #82AE23 #23AE94
square
#4F23AE #AE233C #82AE23 #23AE94
split-complementary
#4F23AE #AE9423 #3CAE23
monochromatic
#210F48 #38197B #4F23AE #6A37D7 #906AE1

Accessibility & contrast

On white

9.62
#4F23AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#4F23AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F23AE
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F23AE#FFFFFF#000000##FFFFFF
##4F23AE1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B2
Deuteranopia (green-blind)
#0041AC
Tritanopia (blue-blind)
#284C69
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4f23ae;
/* rgb */ color: rgb(79, 35, 174);
/* oklch */ color: oklch(41.3% 0.200 288.7);
Tailwind
colors: {
  custom: {
    50: '#8b64c7',
    500: '#4f23ae',
    950: '#000000',
  },
}
SCSS
$custom: #4f23ae;
$custom-light: #8b64c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f23ae",
  "rgb": {
    "r": 79,
    "g": 35,
    "b": 174
  },
  "hsl": {
    "h": 258.993,
    "s": 66.507,
    "l": 40.98
  },
  "oklch": {
    "l": 0.41348,
    "c": 0.20037,
    "h": 288.7
  },
  "luminance": 0.0592
}

Semantic roles & 50–950 ramp

primary
#4F23AE
secondary
#A8C766
accent
#E93EB3
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4F23AE

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

Preview Lab → · Contrast checker → · Palette generator →

#4F23AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva