#4F23CA#4F23CA

#4F23CA is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 44.2% C 0.231 H 283.7°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#4F23CA
RGBrgb(79, 35, 202)
HSLhsl(256, 70%, 46%)
HSVhsv(256, 83%, 79%)
CMYKcmyk(60.9%, 82.7%, 0%, 20.8%)
CIE-LABlab(32.10, 59.75, -77.77)
CIE-LCHlch(32.10, 98.07, 307.53°)
OKLaboklab(44.2% 0.0548 -0.2242)
OKLCHoklch(44.2% 0.231 283.7)
XYZxyz(14.4829, 7.1276, 56.4782)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F23CA #9ECA23
analogous
#234BCA #4F23CA #A323CA
triadic
#4F23CA #CA4F23 #23CA4F
tetradic
#4F23CA #CA234B #9ECA23 #23CAA3
square
#4F23CA #CA234B #9ECA23 #23CAA3
split-complementary
#4F23CA #CAA323 #4BCA23
monochromatic
#261162 #3B1A96 #4F23CA #724AE0 #9B7FE9

Accessibility & contrast

On white

8.66
#4F23CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#4F23CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F23CA
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F23CA#FFFFFF#000000##FFFFFF
##4F23CA1.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050CE
Deuteranopia (green-blind)
#0046C7
Tritanopia (blue-blind)
#005879
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4f23ca;
/* rgb */ color: rgb(79, 35, 202);
/* oklch */ color: oklch(44.2% 0.231 283.7);
Tailwind
colors: {
  custom: {
    50: '#9066dc',
    500: '#4f23ca',
    950: '#000000',
  },
}
SCSS
$custom: #4f23ca;
$custom-light: #9066dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4f23ca",
  "rgb": {
    "r": 79,
    "g": 35,
    "b": 202
  },
  "hsl": {
    "h": 255.808,
    "s": 70.464,
    "l": 46.471
  },
  "oklch": {
    "l": 0.44198,
    "c": 0.23082,
    "h": 283.7
  },
  "luminance": 0.07129
}

Semantic roles & 50–950 ramp

primary
#4F23CA
secondary
#BAD178
accent
#ED3BBE
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #4F23CA

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

Preview Lab → · Contrast checker → · Palette generator →

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