#4F26AB#4F26AB

#4F26AB is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.4% C 0.194 H 288.9°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#4F26AB
RGBrgb(79, 38, 171)
HSLhsl(258, 64%, 41%)
HSVhsv(258, 78%, 67%)
CMYKcmyk(53.8%, 77.8%, 0%, 32.9%)
CIE-LABlab(29.38, 50.00, -63.89)
CIE-LCHlch(29.38, 81.13, 308.04°)
OKLaboklab(41.38% 0.063 -0.1837)
OKLCHoklch(41.38% 0.194 288.9)
XYZxyz(11.2661, 5.9882, 39.0824)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F26AB #82AB26
analogous
#2640AB #4F26AB #9126AB
triadic
#4F26AB #AB4F26 #26AB4F
tetradic
#4F26AB #AB2640 #82AB26 #26AB91
square
#4F26AB #AB2640 #82AB26 #26AB91
split-complementary
#4F26AB #AB9126 #40AB26
monochromatic
#211047 #381B79 #4F26AB #6A3BD3 #906DDF

Accessibility & contrast

On white

9.56
#4F26AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#4F26AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F26AB
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F26AB#FFFFFF#000000##FFFFFF
##4F26AB1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AF
Deuteranopia (green-blind)
#0042A9
Tritanopia (blue-blind)
#2B4C68
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4f26ab;
/* rgb */ color: rgb(79, 38, 171);
/* oklch */ color: oklch(41.4% 0.194 288.9);
Tailwind
colors: {
  custom: {
    50: '#8b66c5',
    500: '#4f26ab',
    950: '#000000',
  },
}
SCSS
$custom: #4f26ab;
$custom-light: #8b66c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f26ab",
  "rgb": {
    "r": 79,
    "g": 38,
    "b": 171
  },
  "hsl": {
    "h": 258.496,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4138,
    "c": 0.19424,
    "h": 288.9
  },
  "luminance": 0.05989
}

Semantic roles & 50–950 ramp

primary
#4F26AB
secondary
#A8C568
accent
#E741B4
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4F26AB

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

Preview Lab → · Contrast checker → · Palette generator →

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