#4F26BA#4F26BA

#4F26BA is a dark, highly saturated violet. Relative luminance 0.066; OKLCH L 42.9% C 0.211 H 286.1°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#4F26BA
RGBrgb(79, 38, 186)
HSLhsl(257, 66%, 44%)
HSVhsv(257, 80%, 73%)
CMYKcmyk(57.5%, 79.6%, 0%, 27.1%)
CIE-LABlab(30.86, 54.15, -70.40)
CIE-LCHlch(30.86, 88.82, 307.57°)
OKLaboklab(42.85% 0.0584 -0.2028)
OKLCHoklch(42.85% 0.211 286.1)
XYZxyz(12.7778, 6.5929, 47.0441)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F26BA #91BA26
analogous
#2647BA #4F26BA #9926BA
triadic
#4F26BA #BA4F26 #26BA4F
tetradic
#4F26BA #BA2647 #91BA26 #26BA99
square
#4F26BA #BA2647 #91BA26 #26BA99
split-complementary
#4F26BA #BA9926 #47BA26
monochromatic
#241154 #391C87 #4F26BA #6D44D9 #9577E3

Accessibility & contrast

On white

9.06
#4F26BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#4F26BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F26BA
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F26BA#FFFFFF#000000##FFFFFF
##4F26BA1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBE
Deuteranopia (green-blind)
#0044B7
Tritanopia (blue-blind)
#185270
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4f26ba;
/* rgb */ color: rgb(79, 38, 186);
/* oklch */ color: oklch(42.9% 0.211 286.1);
Tailwind
colors: {
  custom: {
    50: '#8d66d0',
    500: '#4f26ba',
    950: '#000000',
  },
}
SCSS
$custom: #4f26ba;
$custom-light: #8d66d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f26ba",
  "rgb": {
    "r": 79,
    "g": 38,
    "b": 186
  },
  "hsl": {
    "h": 256.622,
    "s": 66.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.42854,
    "c": 0.21103,
    "h": 286.1
  },
  "luminance": 0.06594
}

Semantic roles & 50–950 ramp

primary
#4F26BA
secondary
#B2CB71
accent
#E93FBA
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #4F26BA

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

Preview Lab → · Contrast checker → · Palette generator →

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