#4F246B#4F246B

#4F246B is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.6% C 0.122 H 309.4°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#4F246B
RGBrgb(79, 36, 107)
HSLhsl(276, 50%, 28%)
HSVhsv(276, 66%, 42%)
CMYKcmyk(26.2%, 66.4%, 0%, 58%)
CIE-LABlab(23.62, 33.77, -33.42)
CIE-LCHlch(23.62, 47.51, 315.29°)
OKLaboklab(35.62% 0.0775 -0.0943)
OKLCHoklch(35.62% 0.122 309.4)
XYZxyz(6.5086, 3.9857, 14.3335)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F246B #406B24
analogous
#2B246B #4F246B #6B2463
triadic
#4F246B #6B4F24 #246B4F
tetradic
#4F246B #6B2B24 #406B24 #24636B
square
#4F246B #6B2B24 #406B24 #24636B
split-complementary
#4F246B #636B24 #246B2B
monochromatic
#110817 #2D153D #4F246B #713399 #9248C1

Accessibility & contrast

On white

11.68
#4F246B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#4F246B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F246B
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F246B#FFFFFF#000000##FFFFFF
##4F246B1.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01366D
Deuteranopia (green-blind)
#1A3969
Tritanopia (blue-blind)
#4B3244
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4f246b;
/* rgb */ color: rgb(79, 36, 107);
/* oklch */ color: oklch(35.6% 0.122 309.4);
Tailwind
colors: {
  custom: {
    50: '#836296',
    500: '#4f246b',
    950: '#000000',
  },
}
SCSS
$custom: #4f246b;
$custom-light: #836296;
$custom-dark: #000000;
JSON
{
  "hex": "#4f246b",
  "rgb": {
    "r": 79,
    "g": 36,
    "b": 107
  },
  "hsl": {
    "h": 276.338,
    "s": 49.65,
    "l": 28.039
  },
  "oklch": {
    "l": 0.35618,
    "c": 0.12208,
    "h": 309.4
  },
  "luminance": 0.03986
}

Semantic roles & 50–950 ramp

primary
#4F246B
secondary
#6D9E4D
accent
#D94F85
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050D
muted
#7C797E

Preview Lab

Preview with #4F246B

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

Preview Lab → · Contrast checker → · Palette generator →

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