#4526A6#4526A6

#4526A6 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.9% C 0.189 H 285.1°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#4526A6
RGBrgb(69, 38, 166)
HSLhsl(255, 63%, 40%)
HSVhsv(255, 77%, 65%)
CMYKcmyk(58.4%, 77.1%, 0%, 34.9%)
CIE-LABlab(27.86, 47.23, -63.43)
CIE-LCHlch(27.86, 79.08, 306.67°)
OKLaboklab(39.92% 0.0492 -0.1827)
OKLCHoklch(39.92% 0.189 285.1)
XYZxyz(10.0282, 5.4040, 36.5836)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4526A6 #87A626
analogous
#2647A6 #4526A6 #8526A6
triadic
#4526A6 #A64526 #26A645
tetradic
#4526A6 #A62647 #87A626 #26A685
square
#4526A6 #A62647 #87A626 #26A685
split-complementary
#4526A6 #A68526 #47A626
monochromatic
#1C0F42 #301B74 #4526A6 #5D38D1 #856ADD

Accessibility & contrast

On white

10.09
#4526A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#4526A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4526A6
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4526A6#FFFFFF#000000##FFFFFF
##4526A61.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AA
Deuteranopia (green-blind)
#003EA4
Tritanopia (blue-blind)
#104B65
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4526a6;
/* rgb */ color: rgb(69, 38, 166);
/* oklch */ color: oklch(39.9% 0.189 285.1);
Tailwind
colors: {
  custom: {
    50: '#8464c2',
    500: '#4526a6',
    950: '#000000',
  },
}
SCSS
$custom: #4526a6;
$custom-light: #8464c2;
$custom-dark: #000000;
JSON
{
  "hex": "#4526a6",
  "rgb": {
    "r": 69,
    "g": 38,
    "b": 166
  },
  "hsl": {
    "h": 254.531,
    "s": 62.745,
    "l": 40
  },
  "oklch": {
    "l": 0.39919,
    "c": 0.18921,
    "h": 285.1
  },
  "luminance": 0.05405
}

Semantic roles & 50–950 ramp

primary
#4526A6
secondary
#ACC365
accent
#E642BE
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4526A6

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

Preview Lab → · Contrast checker → · Palette generator →

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