#4525AC#4525AC

#4525AC is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.4% C 0.197 H 284.1°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#4525AC
RGBrgb(69, 37, 172)
HSLhsl(254, 65%, 41%)
HSVhsv(254, 78%, 67%)
CMYKcmyk(59.9%, 78.5%, 0%, 32.5%)
CIE-LABlab(28.29, 49.46, -66.33)
CIE-LCHlch(28.29, 82.74, 306.71°)
OKLaboklab(40.4% 0.0481 -0.1912)
OKLCHoklch(40.4% 0.197 284.1)
XYZxyz(10.5599, 5.5662, 39.5397)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4525AC #8CAC25
analogous
#2548AC #4525AC #8825AC
triadic
#4525AC #AC4525 #25AC45
tetradic
#4525AC #AC2548 #8CAC25 #25AC88
square
#4525AC #AC2548 #8CAC25 #25AC88
split-complementary
#4525AC #AC8825 #48AC25
monochromatic
#1D0F47 #311A7A #4525AC #5E3AD5 #876CDF

Accessibility & contrast

On white

9.94
#4525AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#4525AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4525AC
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4525AC#FFFFFF#000000##FFFFFF
##4525AC1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B0
Deuteranopia (green-blind)
#003EAA
Tritanopia (blue-blind)
#004D68
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4525ac;
/* rgb */ color: rgb(69, 37, 172);
/* oklch */ color: oklch(40.4% 0.197 284.1);
Tailwind
colors: {
  custom: {
    50: '#8564c6',
    500: '#4525ac',
    950: '#000000',
  },
}
SCSS
$custom: #4525ac;
$custom-light: #8564c6;
$custom-dark: #000000;
JSON
{
  "hex": "#4525ac",
  "rgb": {
    "r": 69,
    "g": 37,
    "b": 172
  },
  "hsl": {
    "h": 254.222,
    "s": 64.593,
    "l": 40.98
  },
  "oklch": {
    "l": 0.40404,
    "c": 0.19713,
    "h": 284.1
  },
  "luminance": 0.05567
}

Semantic roles & 50–950 ramp

primary
#4525AC
secondary
#AFC667
accent
#E840C0
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4525AC

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

Preview Lab → · Contrast checker → · Palette generator →

#4525AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva