#4A26B5#4A26B5

#4A26B5 is a dark, highly saturated violet. Relative luminance 0.062; OKLCH L 41.9% C 0.206 H 284.7°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#4A26B5
RGBrgb(74, 38, 181)
HSLhsl(255, 65%, 43%)
HSVhsv(255, 79%, 71%)
CMYKcmyk(59.1%, 79%, 0%, 29%)
CIE-LABlab(29.86, 52.16, -69.11)
CIE-LCHlch(29.86, 86.59, 307.05°)
OKLaboklab(41.89% 0.0524 -0.1991)
OKLCHoklch(41.89% 0.206 284.7)
XYZxyz(11.8551, 6.1775, 44.2748)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A26B5 #91B526
analogous
#2649B5 #4A26B5 #9126B5
triadic
#4A26B5 #B54A26 #26B54A
tetradic
#4A26B5 #B52649 #91B526 #26B591
square
#4A26B5 #B52649 #91B526 #26B591
split-complementary
#4A26B5 #B59126 #49B526
monochromatic
#211150 #351B82 #4A26B5 #6741D7 #8F74E2

Accessibility & contrast

On white

9.39
#4A26B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#4A26B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A26B5
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A26B5#FFFFFF#000000##FFFFFF
##4A26B51.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB9
Deuteranopia (green-blind)
#0042B2
Tritanopia (blue-blind)
#06506D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4a26b5;
/* rgb */ color: rgb(74, 38, 181);
/* oklch */ color: oklch(41.9% 0.206 284.7);
Tailwind
colors: {
  custom: {
    50: '#8a66cc',
    500: '#4a26b5',
    950: '#000000',
  },
}
SCSS
$custom: #4a26b5;
$custom-light: #8a66cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a26b5",
  "rgb": {
    "r": 74,
    "g": 38,
    "b": 181
  },
  "hsl": {
    "h": 255.105,
    "s": 65.297,
    "l": 42.941
  },
  "oklch": {
    "l": 0.41885,
    "c": 0.20592,
    "h": 284.7
  },
  "luminance": 0.06178
}

Semantic roles & 50–950 ramp

primary
#4A26B5
secondary
#B2C96E
accent
#E840BE
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #4A26B5

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

Preview Lab → · Contrast checker → · Palette generator →

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