#4525A5#4525A5

#4525A5 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.7% C 0.189 H 285.4°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#4525A5
RGBrgb(69, 37, 165)
HSLhsl(255, 63%, 40%)
HSVhsv(255, 78%, 65%)
CMYKcmyk(58.2%, 77.6%, 0%, 35.3%)
CIE-LABlab(27.59, 47.43, -63.27)
CIE-LCHlch(27.59, 79.07, 306.86°)
OKLaboklab(39.7% 0.0501 -0.1822)
OKLCHoklch(39.7% 0.189 285.4)
XYZxyz(9.9053, 5.3044, 36.0919)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4525A5 #85A525
analogous
#2545A5 #4525A5 #8525A5
triadic
#4525A5 #A54525 #25A545
tetradic
#4525A5 #A52545 #85A525 #25A585
square
#4525A5 #A52545 #85A525 #25A585
split-complementary
#4525A5 #A58525 #45A525
monochromatic
#1B0F41 #301A73 #4525A5 #5D35D2 #8567DD

Accessibility & contrast

On white

10.19
#4525A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4525A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4525A5#FFFFFF#000000##FFFFFF
##4525A51.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A9
Deuteranopia (green-blind)
#003DA3
Tritanopia (blue-blind)
#124A64
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4525a5;
/* rgb */ color: rgb(69, 37, 165);
/* oklch */ color: oklch(39.7% 0.189 285.4);
Tailwind
colors: {
  custom: {
    50: '#8464c1',
    500: '#4525a5',
    950: '#000000',
  },
}
SCSS
$custom: #4525a5;
$custom-light: #8464c1;
$custom-dark: #000000;
JSON
{
  "hex": "#4525a5",
  "rgb": {
    "r": 69,
    "g": 37,
    "b": 165
  },
  "hsl": {
    "h": 255,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39699,
    "c": 0.18901,
    "h": 285.4
  },
  "luminance": 0.05305
}

Semantic roles & 50–950 ramp

primary
#4525A5
secondary
#ABC363
accent
#E641BD
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4525A5

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

Preview Lab → · Contrast checker → · Palette generator →

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