#4E26AF#4E26AF

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

Color values

HEX#4E26AF
RGBrgb(78, 38, 175)
HSLhsl(258, 64%, 42%)
HSVhsv(258, 78%, 69%)
CMYKcmyk(55.4%, 78.3%, 0%, 31.4%)
CIE-LABlab(29.66, 50.97, -65.83)
CIE-LCHlch(29.66, 83.26, 307.75°)
OKLaboklab(41.67% 0.0603 -0.1894)
OKLCHoklch(41.67% 0.199 287.7)
XYZxyz(11.5706, 6.1005, 41.1170)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E26AF #87AF26
analogous
#2643AF #4E26AF #9326AF
triadic
#4E26AF #AF4E26 #26AF4E
tetradic
#4E26AF #AF2643 #87AF26 #26AF93
square
#4E26AF #AF2643 #87AF26 #26AF93
split-complementary
#4E26AF #AF9326 #43AF26
monochromatic
#21104A #381B7D #4E26AF #6A3DD5 #9070E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E26AF#FFFFFF#000000##FFFFFF
##4E26AF1.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)
#0049B3
Deuteranopia (green-blind)
#0042AD
Tritanopia (blue-blind)
#244E6A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4e26af;
/* rgb */ color: rgb(78, 38, 175);
/* oklch */ color: oklch(41.7% 0.199 287.7);
Tailwind
colors: {
  custom: {
    50: '#8b66c8',
    500: '#4e26af',
    950: '#000000',
  },
}
SCSS
$custom: #4e26af;
$custom-light: #8b66c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e26af",
  "rgb": {
    "r": 78,
    "g": 38,
    "b": 175
  },
  "hsl": {
    "h": 257.518,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.41669,
    "c": 0.19881,
    "h": 287.7
  },
  "luminance": 0.06101
}

Semantic roles & 50–950 ramp

primary
#4E26AF
secondary
#ACC76A
accent
#E740B7
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4E26AF

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

Preview Lab → · Contrast checker → · Palette generator →

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