#4F246F#4F246F

#4F246F is a dark, vivid violet. Relative luminance 0.041; OKLCH L 35.9% C 0.127 H 307.6°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#4F246F
RGBrgb(79, 36, 111)
HSLhsl(274, 51%, 29%)
HSVhsv(274, 68%, 44%)
CMYKcmyk(28.8%, 67.6%, 0%, 56.5%)
CIE-LABlab(23.91, 34.78, -35.55)
CIE-LCHlch(23.91, 49.73, 314.37°)
OKLaboklab(35.91% 0.0773 -0.1005)
OKLCHoklch(35.91% 0.127 307.6)
XYZxyz(6.7240, 4.0718, 15.4676)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F246F #446F24
analogous
#2A246F #4F246F #6F246A
triadic
#4F246F #6F4F24 #246F4F
tetradic
#4F246F #6F2A24 #446F24 #246A6F
square
#4F246F #6F2A24 #446F24 #246A6F
split-complementary
#4F246F #6A6F24 #246F2A
monochromatic
#100717 #2E1541 #4F246F #70339D #9049C4

Accessibility & contrast

On white

11.57
#4F246F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#4F246F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F246F
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F246F#FFFFFF#000000##FFFFFF
##4F246F1.0011.571.8111.57
#FFFFFF11.571.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003771
Deuteranopia (green-blind)
#15396D
Tritanopia (blue-blind)
#4A3446
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4f246f;
/* rgb */ color: rgb(79, 36, 111);
/* oklch */ color: oklch(35.9% 0.127 307.6);
Tailwind
colors: {
  custom: {
    50: '#836299',
    500: '#4f246f',
    950: '#000000',
  },
}
SCSS
$custom: #4f246f;
$custom-light: #836299;
$custom-dark: #000000;
JSON
{
  "hex": "#4f246f",
  "rgb": {
    "r": 79,
    "g": 36,
    "b": 111
  },
  "hsl": {
    "h": 274.4,
    "s": 51.02,
    "l": 28.824
  },
  "oklch": {
    "l": 0.35913,
    "c": 0.12683,
    "h": 307.6
  },
  "luminance": 0.04072
}

Semantic roles & 50–950 ramp

primary
#4F246F
secondary
#71A24D
accent
#DA4D8A
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4F246F

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

Preview Lab → · Contrast checker → · Palette generator →

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