#4F26AD#4F26AD

#4F26AD is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.6% C 0.197 H 288.5°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#4F26AD
RGBrgb(79, 38, 173)
HSLhsl(258, 64%, 41%)
HSVhsv(258, 78%, 68%)
CMYKcmyk(54.3%, 78%, 0%, 32.2%)
CIE-LABlab(29.58, 50.55, -64.77)
CIE-LCHlch(29.58, 82.16, 307.97°)
OKLaboklab(41.57% 0.0624 -0.1863)
OKLCHoklch(41.57% 0.197 288.5)
XYZxyz(11.4582, 6.0651, 40.0940)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F26AD #84AD26
analogous
#2641AD #4F26AD #9326AD
triadic
#4F26AD #AD4F26 #26AD4F
tetradic
#4F26AD #AD2641 #84AD26 #26AD93
square
#4F26AD #AD2641 #84AD26 #26AD93
split-complementary
#4F26AD #AD9326 #41AD26
monochromatic
#211049 #381B7B #4F26AD #6A3CD4 #916EDF

Accessibility & contrast

On white

9.49
#4F26AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#4F26AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F26AD
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F26AD#FFFFFF#000000##FFFFFF
##4F26AD1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B1
Deuteranopia (green-blind)
#0042AB
Tritanopia (blue-blind)
#294D69
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4f26ad;
/* rgb */ color: rgb(79, 38, 173);
/* oklch */ color: oklch(41.6% 0.197 288.5);
Tailwind
colors: {
  custom: {
    50: '#8b66c7',
    500: '#4f26ad',
    950: '#000000',
  },
}
SCSS
$custom: #4f26ad;
$custom-light: #8b66c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f26ad",
  "rgb": {
    "r": 79,
    "g": 38,
    "b": 173
  },
  "hsl": {
    "h": 258.222,
    "s": 63.981,
    "l": 41.373
  },
  "oklch": {
    "l": 0.41573,
    "c": 0.1965,
    "h": 288.5
  },
  "luminance": 0.06066
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F26AD

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

Preview Lab → · Contrast checker → · Palette generator →

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