#4F239E#4F239E

#4F239E is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.8% C 0.183 H 292.2°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#4F239E
RGBrgb(79, 35, 158)
HSLhsl(261, 64%, 38%)
HSVhsv(261, 78%, 62%)
CMYKcmyk(50%, 77.8%, 0%, 38%)
CIE-LABlab(27.66, 47.81, -58.85)
CIE-LCHlch(27.66, 75.82, 309.09°)
OKLaboklab(39.8% 0.0691 -0.169)
OKLCHoklch(39.8% 0.183 292.2)
XYZxyz(9.9953, 5.3326, 32.8438)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F239E #729E23
analogous
#23359E #4F239E #8C239E
triadic
#4F239E #9E4F23 #239E4F
tetradic
#4F239E #9E2335 #729E23 #239E8C
square
#4F239E #9E2335 #729E23 #239E8C
split-complementary
#4F239E #9E8C23 #359E23
monochromatic
#1D0D3A #36186C #4F239E #682ED0 #8C60DC

Accessibility & contrast

On white

10.16
#4F239E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F239E
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F239E#FFFFFF#000000##FFFFFF
##4F239E1.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A1
Deuteranopia (green-blind)
#003F9C
Tritanopia (blue-blind)
#354560
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4f239e;
/* rgb */ color: rgb(79, 35, 158);
/* oklch */ color: oklch(39.8% 0.183 292.2);
Tailwind
colors: {
  custom: {
    50: '#8963bc',
    500: '#4f239e',
    950: '#000000',
  },
}
SCSS
$custom: #4f239e;
$custom-light: #8963bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4f239e",
  "rgb": {
    "r": 79,
    "g": 35,
    "b": 158
  },
  "hsl": {
    "h": 261.463,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39802,
    "c": 0.18254,
    "h": 292.2
  },
  "luminance": 0.05333
}

Semantic roles & 50–950 ramp

primary
#4F239E
secondary
#9DC15C
accent
#E741AB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4F239E

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

Preview Lab → · Contrast checker → · Palette generator →

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