#4526AB#4526AB

#4526AB is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.4% C 0.195 H 284.2°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#4526AB
RGBrgb(69, 38, 171)
HSLhsl(254, 64%, 41%)
HSVhsv(254, 78%, 67%)
CMYKcmyk(59.6%, 77.8%, 0%, 32.9%)
CIE-LABlab(28.36, 48.69, -65.62)
CIE-LCHlch(28.36, 81.71, 306.58°)
OKLaboklab(40.42% 0.0478 -0.1891)
OKLCHoklch(40.42% 0.195 284.2)
XYZxyz(10.4958, 5.5910, 39.0463)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4526AB #8CAB26
analogous
#2649AB #4526AB #8726AB
triadic
#4526AB #AB4526 #26AB45
tetradic
#4526AB #AB2649 #8CAB26 #26AB87
square
#4526AB #AB2649 #8CAB26 #26AB87
split-complementary
#4526AB #AB8726 #49AB26
monochromatic
#1D1047 #311B79 #4526AB #5E3BD3 #876DDF

Accessibility & contrast

On white

9.91
#4526AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#4526AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4526AB
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4526AB#FFFFFF#000000##FFFFFF
##4526AB1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AF
Deuteranopia (green-blind)
#003FA9
Tritanopia (blue-blind)
#014D68
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4526ab;
/* rgb */ color: rgb(69, 38, 171);
/* oklch */ color: oklch(40.4% 0.195 284.2);
Tailwind
colors: {
  custom: {
    50: '#8565c5',
    500: '#4526ab',
    950: '#000000',
  },
}
SCSS
$custom: #4526ab;
$custom-light: #8565c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4526ab",
  "rgb": {
    "r": 69,
    "g": 38,
    "b": 171
  },
  "hsl": {
    "h": 253.985,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.40419,
    "c": 0.19504,
    "h": 284.2
  },
  "luminance": 0.05592
}

Semantic roles & 50–950 ramp

primary
#4526AB
secondary
#AFC568
accent
#E741C0
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4526AB

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

Preview Lab → · Contrast checker → · Palette generator →

#4526AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva