#4526A9#4526A9

#4526A9 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.2% C 0.193 H 284.5°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#4526A9
RGBrgb(69, 38, 169)
HSLhsl(254, 63%, 41%)
HSVhsv(254, 78%, 66%)
CMYKcmyk(59.2%, 77.5%, 0%, 33.7%)
CIE-LABlab(28.16, 48.11, -64.74)
CIE-LCHlch(28.16, 80.66, 306.61°)
OKLaboklab(40.22% 0.0483 -0.1866)
OKLCHoklch(40.22% 0.193 284.5)
XYZxyz(10.3066, 5.5154, 38.0499)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4526A9 #8AA926
analogous
#2649A9 #4526A9 #8626A9
triadic
#4526A9 #A94526 #26A945
tetradic
#4526A9 #A92649 #8AA926 #26A986
square
#4526A9 #A92649 #8AA926 #26A986
split-complementary
#4526A9 #A98626 #49A926
monochromatic
#1C1045 #311B77 #4526A9 #5E3AD3 #876CDE

Accessibility & contrast

On white

9.98
#4526A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#4526A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4526A9
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4526A9#FFFFFF#000000##FFFFFF
##4526A91.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AD
Deuteranopia (green-blind)
#003EA7
Tritanopia (blue-blind)
#084C67
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4526a9;
/* rgb */ color: rgb(69, 38, 169);
/* oklch */ color: oklch(40.2% 0.193 284.5);
Tailwind
colors: {
  custom: {
    50: '#8565c4',
    500: '#4526a9',
    950: '#000000',
  },
}
SCSS
$custom: #4526a9;
$custom-light: #8565c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4526a9",
  "rgb": {
    "r": 69,
    "g": 38,
    "b": 169
  },
  "hsl": {
    "h": 254.198,
    "s": 63.285,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40218,
    "c": 0.19272,
    "h": 284.5
  },
  "luminance": 0.05516
}

Semantic roles & 50–950 ramp

primary
#4526A9
secondary
#AEC467
accent
#E641BF
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4526A9

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

Preview Lab → · Contrast checker → · Palette generator →

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