#4526BA#4526BA

#4526BA is a dark, highly saturated violet. Relative luminance 0.062; OKLCH L 42.0% C 0.212 H 281.8°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#4526BA
RGBrgb(69, 38, 186)
HSLhsl(253, 66%, 44%)
HSVhsv(253, 80%, 73%)
CMYKcmyk(62.9%, 79.6%, 0%, 27.1%)
CIE-LABlab(29.90, 53.04, -72.02)
CIE-LCHlch(29.90, 89.44, 306.37°)
OKLaboklab(41.96% 0.0434 -0.2078)
OKLCHoklch(41.96% 0.212 281.8)
XYZxyz(12.0075, 6.1957, 47.0080)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4526BA #9BBA26
analogous
#2651BA #4526BA #8F26BA
triadic
#4526BA #BA4526 #26BA45
tetradic
#4526BA #BA2651 #9BBA26 #26BA8F
square
#4526BA #BA2651 #9BBA26 #26BA8F
split-complementary
#4526BA #BA8F26 #51BA26
monochromatic
#1F1154 #321C87 #4526BA #6344D9 #8E77E3

Accessibility & contrast

On white

9.38
#4526BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#4526BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4526BA
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4526BA#FFFFFF#000000##FFFFFF
##4526BA1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBE
Deuteranopia (green-blind)
#0041B7
Tritanopia (blue-blind)
#005370
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4526ba;
/* rgb */ color: rgb(69, 38, 186);
/* oklch */ color: oklch(42.0% 0.212 281.8);
Tailwind
colors: {
  custom: {
    50: '#8866d0',
    500: '#4526ba',
    950: '#000000',
  },
}
SCSS
$custom: #4526ba;
$custom-light: #8866d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4526ba",
  "rgb": {
    "r": 69,
    "g": 38,
    "b": 186
  },
  "hsl": {
    "h": 252.568,
    "s": 66.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.41955,
    "c": 0.21225,
    "h": 281.8
  },
  "luminance": 0.06197
}

Semantic roles & 50–950 ramp

primary
#4526BA
secondary
#B8CB71
accent
#E93FC5
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #4526BA

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

Preview Lab → · Contrast checker → · Palette generator →

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