#4525B0#4525B0

#4525B0 is a dark, highly saturated violet. Relative luminance 0.057; OKLCH L 40.8% C 0.202 H 283.5°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#4525B0
RGBrgb(69, 37, 176)
HSLhsl(254, 65%, 42%)
HSVhsv(254, 79%, 69%)
CMYKcmyk(60.8%, 79%, 0%, 31%)
CIE-LABlab(28.70, 50.62, -68.05)
CIE-LCHlch(28.70, 84.81, 306.64°)
OKLaboklab(40.81% 0.0469 -0.1962)
OKLCHoklch(40.81% 0.202 283.5)
XYZxyz(10.9499, 5.7222, 41.5934)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4525B0 #90B025
analogous
#254BB0 #4525B0 #8B25B0
triadic
#4525B0 #B04525 #25B045
tetradic
#4525B0 #B0254B #90B025 #25B08B
square
#4525B0 #B0254B #90B025 #25B08B
split-complementary
#4525B0 #B08B25 #4BB025
monochromatic
#1D104B #311A7D #4525B0 #603CD6 #896FE1

Accessibility & contrast

On white

9.79
#4525B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#4525B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4525B0#FFFFFF#000000##FFFFFF
##4525B01.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B4
Deuteranopia (green-blind)
#003FAE
Tritanopia (blue-blind)
#004E6A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4525b0;
/* rgb */ color: rgb(69, 37, 176);
/* oklch */ color: oklch(40.8% 0.202 283.5);
Tailwind
colors: {
  custom: {
    50: '#8664c9',
    500: '#4525b0',
    950: '#000000',
  },
}
SCSS
$custom: #4525b0;
$custom-light: #8664c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4525b0",
  "rgb": {
    "r": 69,
    "g": 37,
    "b": 176
  },
  "hsl": {
    "h": 253.813,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40812,
    "c": 0.20172,
    "h": 283.5
  },
  "luminance": 0.05723
}

Semantic roles & 50–950 ramp

primary
#4525B0
secondary
#B2C76A
accent
#E840C1
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4525B0

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

Preview Lab → · Contrast checker → · Palette generator →

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