#4F26AE#4F26AE

#4F26AE is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.7% C 0.198 H 288.3°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#4F26AE
RGBrgb(79, 38, 174)
HSLhsl(258, 64%, 42%)
HSVhsv(258, 78%, 68%)
CMYKcmyk(54.6%, 78.2%, 0%, 31.8%)
CIE-LABlab(29.67, 50.83, -65.21)
CIE-LCHlch(29.67, 82.68, 307.93°)
OKLaboklab(41.67% 0.0621 -0.1876)
OKLCHoklch(41.67% 0.198 288.3)
XYZxyz(11.5553, 6.1039, 40.6055)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F26AE #85AE26
analogous
#2641AE #4F26AE #9326AE
triadic
#4F26AE #AE4F26 #26AE4F
tetradic
#4F26AE #AE2641 #85AE26 #26AE93
square
#4F26AE #AE2641 #85AE26 #26AE93
split-complementary
#4F26AE #AE9326 #41AE26
monochromatic
#21104A #381B7C #4F26AE #6A3DD5 #916FE0

Accessibility & contrast

On white

9.46
#4F26AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#4F26AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F26AE
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F26AE#FFFFFF#000000##FFFFFF
##4F26AE1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B2
Deuteranopia (green-blind)
#0042AC
Tritanopia (blue-blind)
#284D69
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4f26ae;
/* rgb */ color: rgb(79, 38, 174);
/* oklch */ color: oklch(41.7% 0.198 288.3);
Tailwind
colors: {
  custom: {
    50: '#8b66c7',
    500: '#4f26ae',
    950: '#000000',
  },
}
SCSS
$custom: #4f26ae;
$custom-light: #8b66c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f26ae",
  "rgb": {
    "r": 79,
    "g": 38,
    "b": 174
  },
  "hsl": {
    "h": 258.088,
    "s": 64.151,
    "l": 41.569
  },
  "oklch": {
    "l": 0.4167,
    "c": 0.19762,
    "h": 288.3
  },
  "luminance": 0.06104
}

Semantic roles & 50–950 ramp

primary
#4F26AE
secondary
#AAC66A
accent
#E741B5
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4F26AE

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

Preview Lab → · Contrast checker → · Palette generator →

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