#4A26B6#4A26B6

#4A26B6 is a dark, highly saturated violet. Relative luminance 0.062; OKLCH L 42.0% C 0.207 H 284.6°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#4A26B6
RGBrgb(74, 38, 182)
HSLhsl(255, 65%, 43%)
HSVhsv(255, 79%, 71%)
CMYKcmyk(59.3%, 79.1%, 0%, 28.6%)
CIE-LABlab(29.96, 52.45, -69.54)
CIE-LCHlch(29.96, 87.10, 307.03°)
OKLaboklab(41.99% 0.0521 -0.2004)
OKLCHoklch(41.99% 0.207 284.6)
XYZxyz(11.9581, 6.2187, 44.8171)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A26B6 #92B626
analogous
#264AB6 #4A26B6 #9226B6
triadic
#4A26B6 #B64A26 #26B64A
tetradic
#4A26B6 #B6264A #92B626 #26B692
square
#4A26B6 #B6264A #92B626 #26B692
split-complementary
#4A26B6 #B69226 #4AB626
monochromatic
#211151 #351B83 #4A26B6 #6742D7 #9074E2

Accessibility & contrast

On white

9.36
#4A26B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A26B6
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A26B6#FFFFFF#000000##FFFFFF
##4A26B61.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBA
Deuteranopia (green-blind)
#0042B3
Tritanopia (blue-blind)
#03516E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4a26b6;
/* rgb */ color: rgb(74, 38, 182);
/* oklch */ color: oklch(42.0% 0.207 284.6);
Tailwind
colors: {
  custom: {
    50: '#8a66cd',
    500: '#4a26b6',
    950: '#000000',
  },
}
SCSS
$custom: #4a26b6;
$custom-light: #8a66cd;
$custom-dark: #000000;
JSON
{
  "hex": "#4a26b6",
  "rgb": {
    "r": 74,
    "g": 38,
    "b": 182
  },
  "hsl": {
    "h": 255,
    "s": 65.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.41986,
    "c": 0.20705,
    "h": 284.6
  },
  "luminance": 0.06219
}

Semantic roles & 50–950 ramp

primary
#4A26B6
secondary
#B3C96E
accent
#E83FBE
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #4A26B6

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

Preview Lab → · Contrast checker → · Palette generator →

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