#4525A2#4525A2

#4525A2 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.4% C 0.185 H 286.0°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#4525A2
RGBrgb(69, 37, 162)
HSLhsl(255, 63%, 39%)
HSVhsv(255, 77%, 64%)
CMYKcmyk(57.4%, 77.2%, 0%, 36.5%)
CIE-LABlab(27.29, 46.56, -61.94)
CIE-LCHlch(27.29, 77.49, 306.93°)
OKLaboklab(39.4% 0.051 -0.1783)
OKLCHoklch(39.4% 0.186 286)
XYZxyz(9.6354, 5.1964, 34.6707)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4525A2 #82A225
analogous
#2544A2 #4525A2 #8425A2
triadic
#4525A2 #A24525 #25A245
tetradic
#4525A2 #A22544 #82A225 #25A284
square
#4525A2 #A22544 #82A225 #25A284
split-complementary
#4525A2 #A28425 #44A225
monochromatic
#1B0E3E #301A70 #4525A2 #5C34D1 #8465DC

Accessibility & contrast

On white

10.30
#4525A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#4525A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4525A2#FFFFFF#000000##FFFFFF
##4525A21.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A6
Deuteranopia (green-blind)
#003DA0
Tritanopia (blue-blind)
#174962
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4525a2;
/* rgb */ color: rgb(69, 37, 162);
/* oklch */ color: oklch(39.4% 0.185 286.0);
Tailwind
colors: {
  custom: {
    50: '#8464bf',
    500: '#4525a2',
    950: '#000000',
  },
}
SCSS
$custom: #4525a2;
$custom-light: #8464bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4525a2",
  "rgb": {
    "r": 69,
    "g": 37,
    "b": 162
  },
  "hsl": {
    "h": 255.36,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.39401,
    "c": 0.1855,
    "h": 286
  },
  "luminance": 0.05197
}

Semantic roles & 50–950 ramp

primary
#4525A2
secondary
#A9C261
accent
#E642BC
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4525A2

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

Preview Lab → · Contrast checker → · Palette generator →

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