#4524B1#4524B1

#4524B1 is a dark, highly saturated violet. Relative luminance 0.057; OKLCH L 40.8% C 0.204 H 283.4°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#4524B1
RGBrgb(69, 36, 177)
HSLhsl(254, 66%, 42%)
HSVhsv(254, 80%, 69%)
CMYKcmyk(61%, 79.7%, 0%, 30.6%)
CIE-LABlab(28.64, 51.37, -68.74)
CIE-LCHlch(28.64, 85.81, 306.77°)
OKLaboklab(40.8% 0.0472 -0.1982)
OKLCHoklch(40.8% 0.204 283.4)
XYZxyz(11.0185, 5.7005, 42.1061)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4524B1 #90B124
analogous
#2449B1 #4524B1 #8C24B1
triadic
#4524B1 #B14524 #24B145
tetradic
#4524B1 #B12449 #90B124 #24B18C
square
#4524B1 #B12449 #90B124 #24B18C
split-complementary
#4524B1 #B18C24 #49B124
monochromatic
#1D0F4B #311A7E #4524B1 #603BD7 #896EE1

Accessibility & contrast

On white

9.81
#4524B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#4524B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4524B1
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4524B1#FFFFFF#000000##FFFFFF
##4524B11.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4524b1;
/* rgb */ color: rgb(69, 36, 177);
/* oklch */ color: oklch(40.8% 0.204 283.4);
Tailwind
colors: {
  custom: {
    50: '#8664ca',
    500: '#4524b1',
    950: '#000000',
  },
}
SCSS
$custom: #4524b1;
$custom-light: #8664ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4524b1",
  "rgb": {
    "r": 69,
    "g": 36,
    "b": 177
  },
  "hsl": {
    "h": 254.043,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40803,
    "c": 0.20375,
    "h": 283.4
  },
  "luminance": 0.05701
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4524B1

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

Preview Lab → · Contrast checker → · Palette generator →

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