#4526A8#4526A8

#4526A8 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.1% C 0.192 H 284.7°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#4526A8
RGBrgb(69, 38, 168)
HSLhsl(254, 63%, 40%)
HSVhsv(254, 77%, 66%)
CMYKcmyk(58.9%, 77.4%, 0%, 34.1%)
CIE-LABlab(28.06, 47.81, -64.31)
CIE-LCHlch(28.06, 80.13, 306.63°)
OKLaboklab(40.12% 0.0486 -0.1853)
OKLCHoklch(40.12% 0.192 284.7)
XYZxyz(10.2131, 5.4780, 37.5574)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4526A8 #89A826
analogous
#2648A8 #4526A8 #8626A8
triadic
#4526A8 #A84526 #26A845
tetradic
#4526A8 #A82648 #89A826 #26A886
square
#4526A8 #A82648 #89A826 #26A886
split-complementary
#4526A8 #A88626 #48A826
monochromatic
#1C0F44 #311B76 #4526A8 #5E39D2 #866BDE

Accessibility & contrast

On white

10.02
#4526A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4526A8
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4526A8#FFFFFF#000000##FFFFFF
##4526A81.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AC
Deuteranopia (green-blind)
#003EA6
Tritanopia (blue-blind)
#0B4B66
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4526a8;
/* rgb */ color: rgb(69, 38, 168);
/* oklch */ color: oklch(40.1% 0.192 284.7);
Tailwind
colors: {
  custom: {
    50: '#8565c3',
    500: '#4526a8',
    950: '#000000',
  },
}
SCSS
$custom: #4526a8;
$custom-light: #8565c3;
$custom-dark: #000000;
JSON
{
  "hex": "#4526a8",
  "rgb": {
    "r": 69,
    "g": 38,
    "b": 168
  },
  "hsl": {
    "h": 254.308,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.40118,
    "c": 0.19155,
    "h": 284.7
  },
  "luminance": 0.05479
}

Semantic roles & 50–950 ramp

primary
#4526A8
secondary
#ADC466
accent
#E642BF
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4526A8

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

Preview Lab → · Contrast checker → · Palette generator →

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