#4F23B4#4F23B4

#4F23B4 is a dark, highly saturated violet. Relative luminance 0.062; OKLCH L 41.9% C 0.207 H 287.5°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#4F23B4
RGBrgb(79, 35, 180)
HSLhsl(258, 67%, 42%)
HSVhsv(258, 81%, 71%)
CMYKcmyk(56.1%, 80.6%, 0%, 29.4%)
CIE-LABlab(29.81, 53.80, -68.57)
CIE-LCHlch(29.81, 87.16, 308.12°)
OKLaboklab(41.94% 0.0622 -0.1974)
OKLCHoklch(41.94% 0.207 287.5)
XYZxyz(12.0612, 6.1590, 43.7244)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F23B4 #88B423
analogous
#233FB4 #4F23B4 #9823B4
triadic
#4F23B4 #B44F23 #23B44F
tetradic
#4F23B4 #B4233F #88B423 #23B498
square
#4F23B4 #B4233F #88B423 #23B498
split-complementary
#4F23B4 #B49823 #3FB423
monochromatic
#220F4E #391981 #4F23B4 #6B3BD9 #926EE3

Accessibility & contrast

On white

9.41
#4F23B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#4F23B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F23B4
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F23B4#FFFFFF#000000##FFFFFF
##4F23B41.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B8
Deuteranopia (green-blind)
#0042B1
Tritanopia (blue-blind)
#214E6C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4f23b4;
/* rgb */ color: rgb(79, 35, 180);
/* oklch */ color: oklch(41.9% 0.207 287.5);
Tailwind
colors: {
  custom: {
    50: '#8c65cc',
    500: '#4f23b4',
    950: '#000000',
  },
}
SCSS
$custom: #4f23b4;
$custom-light: #8c65cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4f23b4",
  "rgb": {
    "r": 79,
    "g": 35,
    "b": 180
  },
  "hsl": {
    "h": 258.207,
    "s": 67.442,
    "l": 42.157
  },
  "oklch": {
    "l": 0.41944,
    "c": 0.20697,
    "h": 287.5
  },
  "luminance": 0.0616
}

Semantic roles & 50–950 ramp

primary
#4F23B4
secondary
#ACC969
accent
#EA3DB6
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #4F23B4

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

Preview Lab → · Contrast checker → · Palette generator →

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