#4525A7#4525A7

#4525A7 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.9% C 0.191 H 285.0°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#4525A7
RGBrgb(69, 37, 167)
HSLhsl(255, 64%, 40%)
HSVhsv(255, 78%, 65%)
CMYKcmyk(58.7%, 77.8%, 0%, 34.5%)
CIE-LABlab(27.78, 48.01, -64.15)
CIE-LCHlch(27.78, 80.12, 306.81°)
OKLaboklab(39.9% 0.0496 -0.1848)
OKLCHoklch(39.9% 0.191 285)
XYZxyz(10.0887, 5.3777, 37.0581)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4525A7 #87A725
analogous
#2546A7 #4525A7 #8625A7
triadic
#4525A7 #A74525 #25A745
tetradic
#4525A7 #A72546 #87A725 #25A786
square
#4525A7 #A72546 #87A725 #25A786
split-complementary
#4525A7 #A78625 #46A725
monochromatic
#1C0F43 #301A75 #4525A7 #5D37D3 #8569DE

Accessibility & contrast

On white

10.12
#4525A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#4525A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4525A7#FFFFFF#000000##FFFFFF
##4525A71.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AB
Deuteranopia (green-blind)
#003EA5
Tritanopia (blue-blind)
#0E4B65
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4525a7;
/* rgb */ color: rgb(69, 37, 167);
/* oklch */ color: oklch(39.9% 0.191 285.0);
Tailwind
colors: {
  custom: {
    50: '#8564c2',
    500: '#4525a7',
    950: '#000000',
  },
}
SCSS
$custom: #4525a7;
$custom-light: #8564c2;
$custom-dark: #000000;
JSON
{
  "hex": "#4525a7",
  "rgb": {
    "r": 69,
    "g": 37,
    "b": 167
  },
  "hsl": {
    "h": 254.769,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.39899,
    "c": 0.19133,
    "h": 285
  },
  "luminance": 0.05378
}

Semantic roles & 50–950 ramp

primary
#4525A7
secondary
#ACC464
accent
#E741BE
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4525A7

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

Preview Lab → · Contrast checker → · Palette generator →

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