#4F269D#4F269D

#4F269D is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.1% C 0.178 H 292.0°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#4F269D
RGBrgb(79, 38, 157)
HSLhsl(261, 61%, 38%)
HSVhsv(261, 76%, 62%)
CMYKcmyk(49.7%, 75.8%, 0%, 38.4%)
CIE-LABlab(28.07, 46.11, -57.58)
CIE-LCHlch(28.07, 73.77, 308.69°)
OKLaboklab(40.06% 0.0669 -0.1652)
OKLCHoklch(40.06% 0.178 292)
XYZxyz(10.0017, 5.4824, 32.4230)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F269D #749D26
analogous
#26389D #4F269D #8A269D
triadic
#4F269D #9D4F26 #269D4F
tetradic
#4F269D #9D2638 #749D26 #269D8A
square
#4F269D #9D2638 #749D26 #269D8A
split-complementary
#4F269D #9D8A26 #389D26
monochromatic
#1D0E3A #361A6C #4F269D #6833CE #8C64D9

Accessibility & contrast

On white

10.02
#4F269D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#4F269D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F269D
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F269D#FFFFFF#000000##FFFFFF
##4F269D1.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A0
Deuteranopia (green-blind)
#00409B
Tritanopia (blue-blind)
#364660
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4f269d;
/* rgb */ color: rgb(79, 38, 157);
/* oklch */ color: oklch(40.1% 0.178 292.0);
Tailwind
colors: {
  custom: {
    50: '#8865bb',
    500: '#4f269d',
    950: '#000000',
  },
}
SCSS
$custom: #4f269d;
$custom-light: #8865bb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f269d",
  "rgb": {
    "r": 79,
    "g": 38,
    "b": 157
  },
  "hsl": {
    "h": 260.672,
    "s": 61.026,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40058,
    "c": 0.17827,
    "h": 292
  },
  "luminance": 0.05483
}

Semantic roles & 50–950 ramp

primary
#4F269D
secondary
#9EBF60
accent
#E444AD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4F269D

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

Preview Lab → · Contrast checker → · Palette generator →

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