#4F23B0#4F23B0

#4F23B0 is a dark, highly saturated violet. Relative luminance 0.060; OKLCH L 41.5% C 0.203 H 288.3°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#4F23B0
RGBrgb(79, 35, 176)
HSLhsl(259, 67%, 41%)
HSVhsv(259, 80%, 69%)
CMYKcmyk(55.1%, 80.1%, 0%, 31%)
CIE-LABlab(29.41, 52.71, -66.85)
CIE-LCHlch(29.41, 85.13, 308.26°)
OKLaboklab(41.55% 0.0635 -0.1924)
OKLCHoklch(41.55% 0.203 288.3)
XYZxyz(11.6596, 5.9983, 41.6093)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F23B0 #84B023
analogous
#233EB0 #4F23B0 #9623B0
triadic
#4F23B0 #B04F23 #23B04F
tetradic
#4F23B0 #B0233E #84B023 #23B096
square
#4F23B0 #B0233E #84B023 #23B096
split-complementary
#4F23B0 #B09623 #3EB023
monochromatic
#210F4A #38197D #4F23B0 #6A39D8 #916CE2

Accessibility & contrast

On white

9.55
#4F23B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#4F23B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F23B0
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F23B0#FFFFFF#000000##FFFFFF
##4F23B01.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B4
Deuteranopia (green-blind)
#0042AD
Tritanopia (blue-blind)
#264D6A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4f23b0;
/* rgb */ color: rgb(79, 35, 176);
/* oklch */ color: oklch(41.5% 0.203 288.3);
Tailwind
colors: {
  custom: {
    50: '#8c64c9',
    500: '#4f23b0',
    950: '#000000',
  },
}
SCSS
$custom: #4f23b0;
$custom-light: #8c64c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f23b0",
  "rgb": {
    "r": 79,
    "g": 35,
    "b": 176
  },
  "hsl": {
    "h": 258.723,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.41546,
    "c": 0.20258,
    "h": 288.3
  },
  "luminance": 0.05999
}

Semantic roles & 50–950 ramp

primary
#4F23B0
secondary
#AAC867
accent
#EA3EB4
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4F23B0

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

Preview Lab → · Contrast checker → · Palette generator →

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