#4F239F#4F239F

#4F239F is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.9% C 0.184 H 292.0°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#4F239F
RGBrgb(79, 35, 159)
HSLhsl(261, 64%, 38%)
HSVhsv(261, 78%, 62%)
CMYKcmyk(50.3%, 78%, 0%, 37.6%)
CIE-LABlab(27.76, 48.08, -59.31)
CIE-LCHlch(27.76, 76.35, 309.03°)
OKLaboklab(39.9% 0.0688 -0.1703)
OKLCHoklch(39.9% 0.184 292)
XYZxyz(10.0817, 5.3672, 33.2989)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F239F #739F23
analogous
#23359F #4F239F #8D239F
triadic
#4F239F #9F4F23 #239F4F
tetradic
#4F239F #9F2335 #739F23 #239F8D
square
#4F239F #9F2335 #739F23 #239F8D
split-complementary
#4F239F #9F8D23 #359F23
monochromatic
#1D0D3B #36186D #4F239F #682ED1 #8C60DC

Accessibility & contrast

On white

10.13
#4F239F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#4F239F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F239F
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F239F#FFFFFF#000000##FFFFFF
##4F239F1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#003F9D
Tritanopia (blue-blind)
#344660
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4f239f;
/* rgb */ color: rgb(79, 35, 159);
/* oklch */ color: oklch(39.9% 0.184 292.0);
Tailwind
colors: {
  custom: {
    50: '#8963bc',
    500: '#4f239f',
    950: '#000000',
  },
}
SCSS
$custom: #4f239f;
$custom-light: #8963bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4f239f",
  "rgb": {
    "r": 79,
    "g": 35,
    "b": 159
  },
  "hsl": {
    "h": 261.29,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39896,
    "c": 0.18367,
    "h": 292
  },
  "luminance": 0.05368
}

Semantic roles & 50–950 ramp

primary
#4F239F
secondary
#9DC15D
accent
#E741AC
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4F239F

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

Preview Lab → · Contrast checker → · Palette generator →

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