#4A26AF#4A26AF

#4A26AF is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.3% C 0.199 H 285.8°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#4A26AF
RGBrgb(74, 38, 175)
HSLhsl(256, 64%, 42%)
HSVhsv(256, 78%, 69%)
CMYKcmyk(57.7%, 78.3%, 0%, 31.4%)
CIE-LABlab(29.25, 50.46, -66.52)
CIE-LCHlch(29.25, 83.50, 307.18°)
OKLaboklab(41.28% 0.0542 -0.1916)
OKLCHoklch(41.28% 0.199 285.8)
XYZxyz(11.2527, 5.9366, 41.1021)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A26AF #8BAF26
analogous
#2647AF #4A26AF #8E26AF
triadic
#4A26AF #AF4A26 #26AF4A
tetradic
#4A26AF #AF2647 #8BAF26 #26AF8E
square
#4A26AF #AF2647 #8BAF26 #26AF8E
split-complementary
#4A26AF #AF8E26 #47AF26
monochromatic
#1F104A #351B7D #4A26AF #653DD5 #8D70E0

Accessibility & contrast

On white

9.60
#4A26AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#4A26AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A26AF
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A26AF#FFFFFF#000000##FFFFFF
##4A26AF1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B3
Deuteranopia (green-blind)
#0041AD
Tritanopia (blue-blind)
#164E6A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4a26af;
/* rgb */ color: rgb(74, 38, 175);
/* oklch */ color: oklch(41.3% 0.199 285.8);
Tailwind
colors: {
  custom: {
    50: '#8865c8',
    500: '#4a26af',
    950: '#000000',
  },
}
SCSS
$custom: #4a26af;
$custom-light: #8865c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4a26af",
  "rgb": {
    "r": 74,
    "g": 38,
    "b": 175
  },
  "hsl": {
    "h": 255.766,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.41283,
    "c": 0.19911,
    "h": 285.8
  },
  "luminance": 0.05937
}

Semantic roles & 50–950 ramp

primary
#4A26AF
secondary
#AEC76A
accent
#E740BB
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4A26AF

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

Preview Lab → · Contrast checker → · Palette generator →

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