#4A26CA#4A26CA

#4A26CA is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 44.1% C 0.229 H 281.5°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#4A26CA
RGBrgb(74, 38, 202)
HSLhsl(253, 68%, 47%)
HSVhsv(253, 81%, 79%)
CMYKcmyk(63.4%, 81.2%, 0%, 20.8%)
CIE-LABlab(32.05, 58.06, -77.87)
CIE-LCHlch(32.05, 97.13, 306.71°)
OKLaboklab(44.05% 0.0458 -0.2247)
OKLCHoklch(44.05% 0.229 281.5)
XYZxyz(14.1745, 7.1053, 56.4902)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A26CA #A6CA26
analogous
#2654CA #4A26CA #9C26CA
triadic
#4A26CA #CA4A26 #26CA4A
tetradic
#4A26CA #CA2654 #A6CA26 #26CA9C
square
#4A26CA #CA2654 #A6CA26 #26CA9C
split-complementary
#4A26CA #CA9C26 #54CA26
monochromatic
#241363 #371C96 #4A26CA #6F4FDE #9983E8

Accessibility & contrast

On white

8.67
#4A26CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#4A26CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A26CA
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A26CA#FFFFFF#000000##FFFFFF
##4A26CA1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051CE
Deuteranopia (green-blind)
#0045C7
Tritanopia (blue-blind)
#00597A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4a26ca;
/* rgb */ color: rgb(74, 38, 202);
/* oklch */ color: oklch(44.1% 0.229 281.5);
Tailwind
colors: {
  custom: {
    50: '#8d67dc',
    500: '#4a26ca',
    950: '#000000',
  },
}
SCSS
$custom: #4a26ca;
$custom-light: #8d67dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a26ca",
  "rgb": {
    "r": 74,
    "g": 38,
    "b": 202
  },
  "hsl": {
    "h": 253.171,
    "s": 68.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.44051,
    "c": 0.22931,
    "h": 281.5
  },
  "luminance": 0.07106
}

Semantic roles & 50–950 ramp

primary
#4A26CA
secondary
#BED17B
accent
#EB3DC5
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #4A26CA

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

Preview Lab → · Contrast checker → · Palette generator →

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