#4526AE#4526AE

#4526AE is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.7% C 0.199 H 283.7°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#4526AE
RGBrgb(69, 38, 174)
HSLhsl(254, 64%, 42%)
HSVhsv(254, 78%, 68%)
CMYKcmyk(60.3%, 78.2%, 0%, 31.8%)
CIE-LABlab(28.66, 49.56, -66.92)
CIE-LCHlch(28.66, 83.27, 306.53°)
OKLaboklab(40.72% 0.0469 -0.1929)
OKLCHoklch(40.72% 0.199 283.7)
XYZxyz(10.7850, 5.7067, 40.5694)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4526AE #8FAE26
analogous
#264BAE #4526AE #8926AE
triadic
#4526AE #AE4526 #26AE45
tetradic
#4526AE #AE264B #8FAE26 #26AE89
square
#4526AE #AE264B #8FAE26 #26AE89
split-complementary
#4526AE #AE8926 #4BAE26
monochromatic
#1D104A #311B7C #4526AE #5F3DD5 #896FE0

Accessibility & contrast

On white

9.81
#4526AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#4526AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4526AE
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4526AE#FFFFFF#000000##FFFFFF
##4526AE1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B2
Deuteranopia (green-blind)
#003FAC
Tritanopia (blue-blind)
#004E69
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4526ae;
/* rgb */ color: rgb(69, 38, 174);
/* oklch */ color: oklch(40.7% 0.199 283.7);
Tailwind
colors: {
  custom: {
    50: '#8665c7',
    500: '#4526ae',
    950: '#000000',
  },
}
SCSS
$custom: #4526ae;
$custom-light: #8665c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4526ae",
  "rgb": {
    "r": 69,
    "g": 38,
    "b": 174
  },
  "hsl": {
    "h": 253.676,
    "s": 64.151,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40722,
    "c": 0.19852,
    "h": 283.7
  },
  "luminance": 0.05707
}

Semantic roles & 50–950 ramp

primary
#4526AE
secondary
#B1C66A
accent
#E741C1
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4526AE

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

Preview Lab → · Contrast checker → · Palette generator →

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