#4526A4#4526A4

#4526A4 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.7% C 0.187 H 285.4°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#4526A4
RGBrgb(69, 38, 164)
HSLhsl(255, 62%, 40%)
HSVhsv(255, 77%, 64%)
CMYKcmyk(57.9%, 76.8%, 0%, 35.7%)
CIE-LABlab(27.66, 46.64, -62.54)
CIE-LCHlch(27.66, 78.02, 306.72°)
OKLaboklab(39.72% 0.0497 -0.1801)
OKLCHoklch(39.72% 0.187 285.4)
XYZxyz(9.8462, 5.3312, 35.6249)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4526A4 #85A426
analogous
#2646A4 #4526A4 #8426A4
triadic
#4526A4 #A44526 #26A445
tetradic
#4526A4 #A42646 #85A426 #26A484
square
#4526A4 #A42646 #85A426 #26A484
split-complementary
#4526A4 #A48426 #46A426
monochromatic
#1B0F41 #301A72 #4526A4 #5D37D1 #8568DC

Accessibility & contrast

On white

10.16
#4526A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#4526A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4526A4
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4526A4#FFFFFF#000000##FFFFFF
##4526A41.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A8
Deuteranopia (green-blind)
#003DA2
Tritanopia (blue-blind)
#144A64
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4526a4;
/* rgb */ color: rgb(69, 38, 164);
/* oklch */ color: oklch(39.7% 0.187 285.4);
Tailwind
colors: {
  custom: {
    50: '#8464c0',
    500: '#4526a4',
    950: '#000000',
  },
}
SCSS
$custom: #4526a4;
$custom-light: #8464c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4526a4",
  "rgb": {
    "r": 69,
    "g": 38,
    "b": 164
  },
  "hsl": {
    "h": 254.762,
    "s": 62.376,
    "l": 39.608
  },
  "oklch": {
    "l": 0.3972,
    "c": 0.18685,
    "h": 285.4
  },
  "luminance": 0.05332
}

Semantic roles & 50–950 ramp

primary
#4526A4
secondary
#ABC264
accent
#E542BD
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4526A4

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

Preview Lab → · Contrast checker → · Palette generator →

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