#4526AC#4526AC

#4526AC is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.5% C 0.196 H 284.0°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#4526AC
RGBrgb(69, 38, 172)
HSLhsl(254, 64%, 41%)
HSVhsv(254, 78%, 67%)
CMYKcmyk(59.9%, 77.9%, 0%, 32.5%)
CIE-LABlab(28.46, 48.98, -66.05)
CIE-LCHlch(28.46, 82.23, 306.56°)
OKLaboklab(40.52% 0.0475 -0.1904)
OKLCHoklch(40.52% 0.196 284)
XYZxyz(10.5915, 5.6293, 39.5502)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4526AC #8DAC26
analogous
#264AAC #4526AC #8826AC
triadic
#4526AC #AC4526 #26AC45
tetradic
#4526AC #AC264A #8DAC26 #26AC88
square
#4526AC #AC264A #8DAC26 #26AC88
split-complementary
#4526AC #AC8826 #4AAC26
monochromatic
#1D1048 #311B7A #4526AC #5F3BD4 #886EDF

Accessibility & contrast

On white

9.88
#4526AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#4526AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4526AC
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4526AC#FFFFFF#000000##FFFFFF
##4526AC1.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B0
Deuteranopia (green-blind)
#003FAA
Tritanopia (blue-blind)
#004D68
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4526ac;
/* rgb */ color: rgb(69, 38, 172);
/* oklch */ color: oklch(40.5% 0.196 284.0);
Tailwind
colors: {
  custom: {
    50: '#8565c6',
    500: '#4526ac',
    950: '#000000',
  },
}
SCSS
$custom: #4526ac;
$custom-light: #8565c6;
$custom-dark: #000000;
JSON
{
  "hex": "#4526ac",
  "rgb": {
    "r": 69,
    "g": 38,
    "b": 172
  },
  "hsl": {
    "h": 253.881,
    "s": 63.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4052,
    "c": 0.1962,
    "h": 284
  },
  "luminance": 0.0563
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4526AC

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

Preview Lab → · Contrast checker → · Palette generator →

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