#4F266A#4F266A

#4F266A is a dark, moderate violet. Relative luminance 0.041; OKLCH L 35.8% C 0.118 H 309.5°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#4F266A
RGBrgb(79, 38, 106)
HSLhsl(276, 47%, 28%)
HSVhsv(276, 64%, 42%)
CMYKcmyk(25.5%, 64.2%, 0%, 58.4%)
CIE-LABlab(23.96, 32.40, -32.23)
CIE-LCHlch(23.96, 45.70, 315.15°)
OKLaboklab(35.84% 0.0749 -0.0908)
OKLCHoklch(35.84% 0.118 309.5)
XYZxyz(6.5186, 4.0892, 14.0788)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F266A #416A26
analogous
#2D266A #4F266A #6A2663
triadic
#4F266A #6A4F26 #266A4F
tetradic
#4F266A #6A2D26 #416A26 #26636A
square
#4F266A #6A2D26 #416A26 #26636A
split-complementary
#4F266A #636A26 #266A2D
monochromatic
#110817 #2D163D #4F266A #713697 #914CBF

Accessibility & contrast

On white

11.55
#4F266A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#4F266A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F266A
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F266A#FFFFFF#000000##FFFFFF
##4F266A1.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09376C
Deuteranopia (green-blind)
#1D3A68
Tritanopia (blue-blind)
#4B3344
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4f266a;
/* rgb */ color: rgb(79, 38, 106);
/* oklch */ color: oklch(35.8% 0.118 309.5);
Tailwind
colors: {
  custom: {
    50: '#836395',
    500: '#4f266a',
    950: '#000000',
  },
}
SCSS
$custom: #4f266a;
$custom-light: #836395;
$custom-dark: #000000;
JSON
{
  "hex": "#4f266a",
  "rgb": {
    "r": 79,
    "g": 38,
    "b": 106
  },
  "hsl": {
    "h": 276.176,
    "s": 47.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.35843,
    "c": 0.11769,
    "h": 309.5
  },
  "luminance": 0.04089
}

Semantic roles & 50–950 ramp

primary
#4F266A
secondary
#6E9D4F
accent
#D75186
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B050D
muted
#7C7A7E

Preview Lab

Preview with #4F266A

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

Preview Lab → · Contrast checker → · Palette generator →

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