#4526B5#4526B5

#4526B5 is a dark, highly saturated violet. Relative luminance 0.060; OKLCH L 41.4% C 0.207 H 282.5°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#4526B5
RGBrgb(69, 38, 181)
HSLhsl(253, 65%, 43%)
HSVhsv(253, 79%, 71%)
CMYKcmyk(61.9%, 79%, 0%, 29%)
CIE-LABlab(29.38, 51.59, -69.91)
CIE-LCHlch(29.38, 86.89, 306.43°)
OKLaboklab(41.44% 0.0448 -0.2016)
OKLCHoklch(41.44% 0.207 282.5)
XYZxyz(11.4852, 5.9868, 44.2574)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4526B5 #96B526
analogous
#264EB5 #4526B5 #8C26B5
triadic
#4526B5 #B54526 #26B545
tetradic
#4526B5 #B5264E #96B526 #26B58C
square
#4526B5 #B5264E #96B526 #26B58C
split-complementary
#4526B5 #B58C26 #4EB526
monochromatic
#1E1150 #321B82 #4526B5 #6241D7 #8C74E2

Accessibility & contrast

On white

9.56
#4526B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#4526B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4526B5
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4526B5#FFFFFF#000000##FFFFFF
##4526B51.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB9
Deuteranopia (green-blind)
#0040B2
Tritanopia (blue-blind)
#00516D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4526b5;
/* rgb */ color: rgb(69, 38, 181);
/* oklch */ color: oklch(41.4% 0.207 282.5);
Tailwind
colors: {
  custom: {
    50: '#8765cc',
    500: '#4526b5',
    950: '#000000',
  },
}
SCSS
$custom: #4526b5;
$custom-light: #8765cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4526b5",
  "rgb": {
    "r": 69,
    "g": 38,
    "b": 181
  },
  "hsl": {
    "h": 253.007,
    "s": 65.297,
    "l": 42.941
  },
  "oklch": {
    "l": 0.41438,
    "c": 0.20657,
    "h": 282.5
  },
  "luminance": 0.05988
}

Semantic roles & 50–950 ramp

primary
#4526B5
secondary
#B5C96E
accent
#E840C4
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #4526B5

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

Preview Lab → · Contrast checker → · Palette generator →

#4526B5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva