#4524B4#4524B4

#4524B4 is a dark, highly saturated violet. Relative luminance 0.058; OKLCH L 41.1% C 0.207 H 282.9°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#4524B4
RGBrgb(69, 36, 180)
HSLhsl(254, 67%, 42%)
HSVhsv(254, 80%, 71%)
CMYKcmyk(61.7%, 80%, 0%, 29.4%)
CIE-LABlab(28.96, 52.23, -70.01)
CIE-LCHlch(28.96, 87.34, 306.72°)
OKLaboklab(41.11% 0.0463 -0.2019)
OKLCHoklch(41.11% 0.207 282.9)
XYZxyz(11.3208, 5.8215, 43.6983)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4524B4 #93B424
analogous
#244BB4 #4524B4 #8D24B4
triadic
#4524B4 #B44524 #24B445
tetradic
#4524B4 #B4244B #93B424 #24B48D
square
#4524B4 #B4244B #93B424 #24B48D
split-complementary
#4524B4 #B48D24 #4BB424
monochromatic
#1E104E #311A81 #4524B4 #613DD8 #8A70E2

Accessibility & contrast

On white

9.70
#4524B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#4524B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4524B4
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4524B4#FFFFFF#000000##FFFFFF
##4524B41.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B8
Deuteranopia (green-blind)
#003FB1
Tritanopia (blue-blind)
#004F6C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4524b4;
/* rgb */ color: rgb(69, 36, 180);
/* oklch */ color: oklch(41.1% 0.207 282.9);
Tailwind
colors: {
  custom: {
    50: '#8764cc',
    500: '#4524b4',
    950: '#000000',
  },
}
SCSS
$custom: #4524b4;
$custom-light: #8764cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4524b4",
  "rgb": {
    "r": 69,
    "g": 36,
    "b": 180
  },
  "hsl": {
    "h": 253.75,
    "s": 66.667,
    "l": 42.353
  },
  "oklch": {
    "l": 0.41114,
    "c": 0.20715,
    "h": 282.9
  },
  "luminance": 0.05822
}

Semantic roles & 50–950 ramp

primary
#4524B4
secondary
#B3C96B
accent
#EA3EC2
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #4524B4

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

Preview Lab → · Contrast checker → · Palette generator →

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