#4A26B9#4A26B9

#4A26B9 is a dark, highly saturated violet. Relative luminance 0.063; OKLCH L 42.3% C 0.210 H 284.1°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#4A26B9
RGBrgb(74, 38, 185)
HSLhsl(255, 66%, 44%)
HSVhsv(255, 79%, 73%)
CMYKcmyk(60%, 79.5%, 0%, 27.5%)
CIE-LABlab(30.26, 53.29, -70.81)
CIE-LCHlch(30.26, 88.63, 306.97°)
OKLaboklab(42.29% 0.0512 -0.2041)
OKLCHoklch(42.29% 0.21 284.1)
XYZxyz(12.2714, 6.3440, 46.4674)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A26B9 #95B926
analogous
#264BB9 #4A26B9 #9326B9
triadic
#4A26B9 #B94A26 #26B94A
tetradic
#4A26B9 #B9264B #95B926 #26B993
square
#4A26B9 #B9264B #95B926 #26B993
split-complementary
#4A26B9 #B99326 #4BB926
monochromatic
#211153 #361C86 #4A26B9 #6844D9 #9176E3

Accessibility & contrast

On white

9.26
#4A26B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#4A26B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A26B9
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A26B9#FFFFFF#000000##FFFFFF
##4A26B91.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBD
Deuteranopia (green-blind)
#0042B6
Tritanopia (blue-blind)
#005270
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4a26b9;
/* rgb */ color: rgb(74, 38, 185);
/* oklch */ color: oklch(42.3% 0.210 284.1);
Tailwind
colors: {
  custom: {
    50: '#8a66cf',
    500: '#4a26b9',
    950: '#000000',
  },
}
SCSS
$custom: #4a26b9;
$custom-light: #8a66cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4a26b9",
  "rgb": {
    "r": 74,
    "g": 38,
    "b": 185
  },
  "hsl": {
    "h": 254.694,
    "s": 65.919,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42291,
    "c": 0.21043,
    "h": 284.1
  },
  "luminance": 0.06345
}

Semantic roles & 50–950 ramp

primary
#4A26B9
secondary
#B4CA70
accent
#E93FBF
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #4A26B9

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

Preview Lab → · Contrast checker → · Palette generator →

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