#4525A8#4525A8

#4525A8 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.0% C 0.192 H 284.8°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#4525A8
RGBrgb(69, 37, 168)
HSLhsl(255, 64%, 40%)
HSVhsv(255, 78%, 66%)
CMYKcmyk(58.9%, 78%, 0%, 34.1%)
CIE-LABlab(27.89, 48.30, -64.58)
CIE-LCHlch(27.89, 80.65, 306.79°)
OKLaboklab(40% 0.0493 -0.1861)
OKLCHoklch(40% 0.192 284.8)
XYZxyz(10.1815, 5.4149, 37.5469)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4525A8 #88A825
analogous
#2547A8 #4525A8 #8625A8
triadic
#4525A8 #A84525 #25A845
tetradic
#4525A8 #A82547 #88A825 #25A886
square
#4525A8 #A82547 #88A825 #25A886
split-complementary
#4525A8 #A88625 #47A825
monochromatic
#1C0F44 #301A76 #4525A8 #5D37D3 #8669DE

Accessibility & contrast

On white

10.08
#4525A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##4525A8#FFFFFF#000000##FFFFFF
##4525A81.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AC
Deuteranopia (green-blind)
#003EA6
Tritanopia (blue-blind)
#0B4B66
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4525a8;
/* rgb */ color: rgb(69, 37, 168);
/* oklch */ color: oklch(40.0% 0.192 284.8);
Tailwind
colors: {
  custom: {
    50: '#8564c3',
    500: '#4525a8',
    950: '#000000',
  },
}
SCSS
$custom: #4525a8;
$custom-light: #8564c3;
$custom-dark: #000000;
JSON
{
  "hex": "#4525a8",
  "rgb": {
    "r": 69,
    "g": 37,
    "b": 168
  },
  "hsl": {
    "h": 254.656,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39999,
    "c": 0.19249,
    "h": 284.8
  },
  "luminance": 0.05415
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4525A8

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

Preview Lab → · Contrast checker → · Palette generator →

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