#4524B2#4524B2

#4524B2 is a dark, highly saturated violet. Relative luminance 0.057; OKLCH L 40.9% C 0.205 H 283.2°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#4524B2
RGBrgb(69, 36, 178)
HSLhsl(254, 66%, 42%)
HSVhsv(254, 80%, 70%)
CMYKcmyk(61.2%, 79.8%, 0%, 30.2%)
CIE-LABlab(28.75, 51.65, -69.16)
CIE-LCHlch(28.75, 86.32, 306.75°)
OKLaboklab(40.91% 0.0469 -0.1994)
OKLCHoklch(40.91% 0.205 283.2)
XYZxyz(11.1185, 5.7406, 42.6330)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4524B2 #91B224
analogous
#244AB2 #4524B2 #8C24B2
triadic
#4524B2 #B24524 #24B245
tetradic
#4524B2 #B2244A #91B224 #24B28C
square
#4524B2 #B2244A #91B224 #24B28C
split-complementary
#4524B2 #B28C24 #4AB224
monochromatic
#1E0F4C #311A7F #4524B2 #603CD8 #896FE2

Accessibility & contrast

On white

9.78
#4524B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#4524B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4524B2
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4524B2#FFFFFF#000000##FFFFFF
##4524B21.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B6
Deuteranopia (green-blind)
#003FAF
Tritanopia (blue-blind)
#004F6B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4524b2;
/* rgb */ color: rgb(69, 36, 178);
/* oklch */ color: oklch(40.9% 0.205 283.2);
Tailwind
colors: {
  custom: {
    50: '#8764ca',
    500: '#4524b2',
    950: '#000000',
  },
}
SCSS
$custom: #4524b2;
$custom-light: #8764ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4524b2",
  "rgb": {
    "r": 69,
    "g": 36,
    "b": 178
  },
  "hsl": {
    "h": 253.944,
    "s": 66.355,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40907,
    "c": 0.20488,
    "h": 283.2
  },
  "luminance": 0.05741
}

Semantic roles & 50–950 ramp

primary
#4524B2
secondary
#B2C869
accent
#E93FC2
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0D0613
muted
#7D7A82

Preview Lab

Preview with #4524B2

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

Preview Lab → · Contrast checker → · Palette generator →

#4524B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva