#4F266F#4F266F

#4F266F is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.2% C 0.124 H 307.1°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#4F266F
RGBrgb(79, 38, 111)
HSLhsl(274, 49%, 29%)
HSVhsv(274, 66%, 44%)
CMYKcmyk(28.8%, 65.8%, 0%, 56.5%)
CIE-LABlab(24.31, 33.68, -34.90)
CIE-LCHlch(24.31, 48.50, 313.98°)
OKLaboklab(36.2% 0.0747 -0.0986)
OKLCHoklch(36.2% 0.124 307.1)
XYZxyz(6.7862, 4.1963, 15.4883)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F266F #466F26
analogous
#2B266F #4F266F #6F266B
triadic
#4F266F #6F4F26 #266F4F
tetradic
#4F266F #6F2B26 #466F26 #266B6F
square
#4F266F #6F2B26 #466F26 #266B6F
split-complementary
#4F266F #6B6F26 #266F2B
monochromatic
#100817 #2F1641 #4F266F #6F369D #8F4DC2

Accessibility & contrast

On white

11.42
#4F266F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#4F266F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F266F
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F266F#FFFFFF#000000##FFFFFF
##4F266F1.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003871
Deuteranopia (green-blind)
#183A6D
Tritanopia (blue-blind)
#4A3546
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4f266f;
/* rgb */ color: rgb(79, 38, 111);
/* oklch */ color: oklch(36.2% 0.124 307.1);
Tailwind
colors: {
  custom: {
    50: '#836399',
    500: '#4f266f',
    950: '#000000',
  },
}
SCSS
$custom: #4f266f;
$custom-light: #836399;
$custom-dark: #000000;
JSON
{
  "hex": "#4f266f",
  "rgb": {
    "r": 79,
    "g": 38,
    "b": 111
  },
  "hsl": {
    "h": 273.699,
    "s": 48.993,
    "l": 29.216
  },
  "oklch": {
    "l": 0.36204,
    "c": 0.12374,
    "h": 307.1
  },
  "luminance": 0.04196
}

Semantic roles & 50–950 ramp

primary
#4F266F
secondary
#73A24F
accent
#D94F8B
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B050E
muted
#7C7A7E

Preview Lab

Preview with #4F266F

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

Preview Lab → · Contrast checker → · Palette generator →

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