#4F23AF#4F23AF

#4F23AF is a dark, highly saturated violet. Relative luminance 0.060; OKLCH L 41.4% C 0.201 H 288.5°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#4F23AF
RGBrgb(79, 35, 175)
HSLhsl(259, 67%, 41%)
HSVhsv(259, 80%, 69%)
CMYKcmyk(54.9%, 80%, 0%, 31.4%)
CIE-LABlab(29.31, 52.44, -66.41)
CIE-LCHlch(29.31, 84.62, 308.30°)
OKLaboklab(41.45% 0.0639 -0.1911)
OKLCHoklch(41.45% 0.201 288.5)
XYZxyz(11.5611, 5.9589, 41.0901)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F23AF #83AF23
analogous
#233DAF #4F23AF #9523AF
triadic
#4F23AF #AF4F23 #23AF4F
tetradic
#4F23AF #AF233D #83AF23 #23AF95
square
#4F23AF #AF233D #83AF23 #23AF95
split-complementary
#4F23AF #AF9523 #3DAF23
monochromatic
#210F49 #38197C #4F23AF #6A38D7 #906BE1

Accessibility & contrast

On white

9.58
#4F23AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#4F23AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F23AF
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F23AF#FFFFFF#000000##FFFFFF
##4F23AF1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f23af;
/* rgb */ color: rgb(79, 35, 175);
/* oklch */ color: oklch(41.4% 0.201 288.5);
Tailwind
colors: {
  custom: {
    50: '#8b64c8',
    500: '#4f23af',
    950: '#000000',
  },
}
SCSS
$custom: #4f23af;
$custom-light: #8b64c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f23af",
  "rgb": {
    "r": 79,
    "g": 35,
    "b": 175
  },
  "hsl": {
    "h": 258.857,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.41446,
    "c": 0.20148,
    "h": 288.5
  },
  "luminance": 0.05959
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F23AF

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

Preview Lab → · Contrast checker → · Palette generator →

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