#4F269F#4F269F

#4F269F is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.2% C 0.181 H 291.6°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#4F269F
RGBrgb(79, 38, 159)
HSLhsl(260, 61%, 39%)
HSVhsv(260, 76%, 62%)
CMYKcmyk(50.3%, 76.1%, 0%, 37.6%)
CIE-LABlab(28.25, 46.67, -58.49)
CIE-LCHlch(28.25, 74.83, 308.58°)
OKLaboklab(40.24% 0.0664 -0.1679)
OKLCHoklch(40.24% 0.181 291.6)
XYZxyz(10.1738, 5.5513, 33.3296)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F269F #769F26
analogous
#26399F #4F269F #8B269F
triadic
#4F269F #9F4F26 #269F4F
tetradic
#4F269F #9F2639 #769F26 #269F8B
square
#4F269F #9F2639 #769F26 #269F8B
split-complementary
#4F269F #9F8B26 #399F26
monochromatic
#1E0E3C #361A6E #4F269F #6834CE #8D65DA

Accessibility & contrast

On white

9.95
#4F269F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#4F269F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F269F
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F269F#FFFFFF#000000##FFFFFF
##4F269F1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#00409D
Tritanopia (blue-blind)
#344761
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4f269f;
/* rgb */ color: rgb(79, 38, 159);
/* oklch */ color: oklch(40.2% 0.181 291.6);
Tailwind
colors: {
  custom: {
    50: '#8965bc',
    500: '#4f269f',
    950: '#000000',
  },
}
SCSS
$custom: #4f269f;
$custom-light: #8965bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4f269f",
  "rgb": {
    "r": 79,
    "g": 38,
    "b": 159
  },
  "hsl": {
    "h": 260.331,
    "s": 61.421,
    "l": 38.627
  },
  "oklch": {
    "l": 0.40243,
    "c": 0.18058,
    "h": 291.6
  },
  "luminance": 0.05552
}

Semantic roles & 50–950 ramp

primary
#4F269F
secondary
#A0C061
accent
#E543AE
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4F269F

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

Preview Lab → · Contrast checker → · Palette generator →

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