#4F246A#4F246A

#4F246A is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.5% C 0.121 H 309.9°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#4F246A
RGBrgb(79, 36, 106)
HSLhsl(277, 49%, 28%)
HSVhsv(277, 66%, 42%)
CMYKcmyk(25.5%, 66%, 0%, 58.4%)
CIE-LABlab(23.55, 33.52, -32.89)
CIE-LCHlch(23.55, 46.96, 315.54°)
OKLaboklab(35.55% 0.0776 -0.0927)
OKLCHoklch(35.55% 0.121 309.9)
XYZxyz(6.4563, 3.9648, 14.0580)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F246A #3F6A24
analogous
#2C246A #4F246A #6A2462
triadic
#4F246A #6A4F24 #246A4F
tetradic
#4F246A #6A2C24 #3F6A24 #24626A
square
#4F246A #6A2C24 #3F6A24 #24626A
split-complementary
#4F246A #626A24 #246A2C
monochromatic
#110817 #2D143C #4F246A #713498 #9248C1

Accessibility & contrast

On white

11.71
#4F246A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#4F246A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F246A
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F246A#FFFFFF#000000##FFFFFF
##4F246A1.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03366C
Deuteranopia (green-blind)
#1B3968
Tritanopia (blue-blind)
#4B3243
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4f246a;
/* rgb */ color: rgb(79, 36, 106);
/* oklch */ color: oklch(35.5% 0.121 309.9);
Tailwind
colors: {
  custom: {
    50: '#836295',
    500: '#4f246a',
    950: '#000000',
  },
}
SCSS
$custom: #4f246a;
$custom-light: #836295;
$custom-dark: #000000;
JSON
{
  "hex": "#4f246a",
  "rgb": {
    "r": 79,
    "g": 36,
    "b": 106
  },
  "hsl": {
    "h": 276.857,
    "s": 49.296,
    "l": 27.843
  },
  "oklch": {
    "l": 0.35545,
    "c": 0.1209,
    "h": 309.9
  },
  "luminance": 0.03965
}

Semantic roles & 50–950 ramp

primary
#4F246A
secondary
#6C9D4D
accent
#D94F84
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050D
muted
#7C797E

Preview Lab

Preview with #4F246A

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

Preview Lab → · Contrast checker → · Palette generator →

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