#4F23A0#4F23A0

#4F23A0 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.0% C 0.185 H 291.8°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#4F23A0
RGBrgb(79, 35, 160)
HSLhsl(261, 64%, 38%)
HSVhsv(261, 78%, 63%)
CMYKcmyk(50.6%, 78.1%, 0%, 37.3%)
CIE-LABlab(27.85, 48.35, -59.76)
CIE-LCHlch(27.85, 76.87, 308.98°)
OKLaboklab(39.99% 0.0685 -0.1716)
OKLCHoklch(39.99% 0.185 291.8)
XYZxyz(10.1688, 5.4020, 33.7578)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F23A0 #74A023
analogous
#2335A0 #4F23A0 #8D23A0
triadic
#4F23A0 #A04F23 #23A04F
tetradic
#4F23A0 #A02335 #74A023 #23A08D
square
#4F23A0 #A02335 #74A023 #23A08D
split-complementary
#4F23A0 #A08D23 #35A023
monochromatic
#1D0D3C #36186E #4F23A0 #682FD1 #8C61DC

Accessibility & contrast

On white

10.09
#4F23A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#4F23A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F23A0
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F23A0#FFFFFF#000000##FFFFFF
##4F23A01.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A3
Deuteranopia (green-blind)
#003F9E
Tritanopia (blue-blind)
#344661
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4f23a0;
/* rgb */ color: rgb(79, 35, 160);
/* oklch */ color: oklch(40.0% 0.185 291.8);
Tailwind
colors: {
  custom: {
    50: '#8963bd',
    500: '#4f23a0',
    950: '#000000',
  },
}
SCSS
$custom: #4f23a0;
$custom-light: #8963bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4f23a0",
  "rgb": {
    "r": 79,
    "g": 35,
    "b": 160
  },
  "hsl": {
    "h": 261.12,
    "s": 64.103,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39991,
    "c": 0.18479,
    "h": 291.8
  },
  "luminance": 0.05402
}

Semantic roles & 50–950 ramp

primary
#4F23A0
secondary
#9EC15D
accent
#E741AD
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0D0612
muted
#7D7A81

Preview Lab

Preview with #4F23A0

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

Preview Lab → · Contrast checker → · Palette generator →

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