#4525AA#4525AA

#4525AA is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.2% C 0.195 H 284.5°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#4525AA
RGBrgb(69, 37, 170)
HSLhsl(254, 64%, 41%)
HSVhsv(254, 78%, 67%)
CMYKcmyk(59.4%, 78.2%, 0%, 33.3%)
CIE-LABlab(28.09, 48.88, -65.46)
CIE-LCHlch(28.09, 81.69, 306.75°)
OKLaboklab(40.2% 0.0487 -0.1886)
OKLCHoklch(40.2% 0.195 284.5)
XYZxyz(10.3693, 5.4900, 38.5357)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4525AA #8AAA25
analogous
#2547AA #4525AA #8725AA
triadic
#4525AA #AA4525 #25AA45
tetradic
#4525AA #AA2547 #8AAA25 #25AA87
square
#4525AA #AA2547 #8AAA25 #25AA87
split-complementary
#4525AA #AA8725 #47AA25
monochromatic
#1C0F45 #311A78 #4525AA #5E38D4 #876BDF

Accessibility & contrast

On white

10.01
#4525AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#4525AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4525AA#FFFFFF#000000##FFFFFF
##4525AA1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AE
Deuteranopia (green-blind)
#003EA8
Tritanopia (blue-blind)
#054C67
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4525aa;
/* rgb */ color: rgb(69, 37, 170);
/* oklch */ color: oklch(40.2% 0.195 284.5);
Tailwind
colors: {
  custom: {
    50: '#8564c5',
    500: '#4525aa',
    950: '#000000',
  },
}
SCSS
$custom: #4525aa;
$custom-light: #8564c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4525aa",
  "rgb": {
    "r": 69,
    "g": 37,
    "b": 170
  },
  "hsl": {
    "h": 254.436,
    "s": 64.251,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40201,
    "c": 0.19482,
    "h": 284.5
  },
  "luminance": 0.05491
}

Semantic roles & 50–950 ramp

primary
#4525AA
secondary
#AEC566
accent
#E741BF
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4525AA

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

Preview Lab → · Contrast checker → · Palette generator →

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