#4F269E#4F269E

#4F269E is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.2% C 0.179 H 291.8°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#4F269E
RGBrgb(79, 38, 158)
HSLhsl(261, 61%, 38%)
HSVhsv(261, 76%, 62%)
CMYKcmyk(50%, 75.9%, 0%, 38%)
CIE-LABlab(28.16, 46.39, -58.04)
CIE-LCHlch(28.16, 74.30, 308.64°)
OKLaboklab(40.15% 0.0666 -0.1666)
OKLCHoklch(40.15% 0.179 291.8)
XYZxyz(10.0874, 5.5167, 32.8745)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F269E #759E26
analogous
#26399E #4F269E #8B269E
triadic
#4F269E #9E4F26 #269E4F
tetradic
#4F269E #9E2639 #759E26 #269E8B
square
#4F269E #9E2639 #759E26 #269E8B
split-complementary
#4F269E #9E8B26 #399E26
monochromatic
#1E0E3B #361A6D #4F269E #6833CE #8D65DA

Accessibility & contrast

On white

9.98
#4F269E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F269E
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F269E#FFFFFF#000000##FFFFFF
##4F269E1.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#00409C
Tritanopia (blue-blind)
#354760
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4f269e;
/* rgb */ color: rgb(79, 38, 158);
/* oklch */ color: oklch(40.2% 0.179 291.8);
Tailwind
colors: {
  custom: {
    50: '#8965bc',
    500: '#4f269e',
    950: '#000000',
  },
}
SCSS
$custom: #4f269e;
$custom-light: #8965bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4f269e",
  "rgb": {
    "r": 79,
    "g": 38,
    "b": 158
  },
  "hsl": {
    "h": 260.5,
    "s": 61.224,
    "l": 38.431
  },
  "oklch": {
    "l": 0.4015,
    "c": 0.17943,
    "h": 291.8
  },
  "luminance": 0.05517
}

Semantic roles & 50–950 ramp

primary
#4F269E
secondary
#9FC060
accent
#E443AD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4F269E

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

Preview Lab → · Contrast checker → · Palette generator →

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