#4F23BC#4F23BC

#4F23BC is a dark, highly saturated violet. Relative luminance 0.065; OKLCH L 42.8% C 0.216 H 286.0°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#4F23BC
RGBrgb(79, 35, 188)
HSLhsl(257, 69%, 44%)
HSVhsv(257, 81%, 74%)
CMYKcmyk(58%, 81.4%, 0%, 26.3%)
CIE-LABlab(30.63, 55.97, -71.97)
CIE-LCHlch(30.63, 91.18, 307.87°)
OKLaboklab(42.75% 0.0596 -0.2073)
OKLCHoklch(42.75% 0.216 286)
XYZxyz(12.8998, 6.4944, 48.1410)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F23BC #90BC23
analogous
#2343BC #4F23BC #9B23BC
triadic
#4F23BC #BC4F23 #23BC4F
tetradic
#4F23BC #BC2343 #90BC23 #23BC9B
square
#4F23BC #BC2343 #90BC23 #23BC9B
split-complementary
#4F23BC #BC9B23 #43BC23
monochromatic
#241055 #391988 #4F23BC #6D41DC #9574E5

Accessibility & contrast

On white

9.13
#4F23BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#4F23BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F23BC
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F23BC#FFFFFF#000000##FFFFFF
##4F23BC1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CC0
Deuteranopia (green-blind)
#0044B9
Tritanopia (blue-blind)
#145271
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4f23bc;
/* rgb */ color: rgb(79, 35, 188);
/* oklch */ color: oklch(42.8% 0.216 286.0);
Tailwind
colors: {
  custom: {
    50: '#8d65d2',
    500: '#4f23bc',
    950: '#000000',
  },
}
SCSS
$custom: #4f23bc;
$custom-light: #8d65d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f23bc",
  "rgb": {
    "r": 79,
    "g": 35,
    "b": 188
  },
  "hsl": {
    "h": 257.255,
    "s": 68.61,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42753,
    "c": 0.21572,
    "h": 286
  },
  "luminance": 0.06495
}

Semantic roles & 50–950 ramp

primary
#4F23BC
secondary
#B1CC6F
accent
#EB3CB9
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0614
muted
#7E7A83

Preview Lab

Preview with #4F23BC

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

Preview Lab → · Contrast checker → · Palette generator →

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