#4526B1#4526B1

#4526B1 is a dark, highly saturated violet. Relative luminance 0.058; OKLCH L 41.0% C 0.202 H 283.2°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#4526B1
RGBrgb(69, 38, 177)
HSLhsl(253, 65%, 42%)
HSVhsv(253, 79%, 69%)
CMYKcmyk(61%, 78.5%, 0%, 30.6%)
CIE-LABlab(28.97, 50.44, -68.21)
CIE-LCHlch(28.97, 84.83, 306.48°)
OKLaboklab(41.03% 0.046 -0.1967)
OKLCHoklch(41.03% 0.202 283.2)
XYZxyz(11.0807, 5.8250, 42.1269)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4526B1 #92B126
analogous
#264DB1 #4526B1 #8A26B1
triadic
#4526B1 #B14526 #26B145
tetradic
#4526B1 #B1264D #92B126 #26B18A
square
#4526B1 #B1264D #92B126 #26B18A
split-complementary
#4526B1 #B18A26 #4DB126
monochromatic
#1E104C #311B7F #4526B1 #603FD6 #8A71E0

Accessibility & contrast

On white

9.70
#4526B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#4526B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4526B1
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4526B1#FFFFFF#000000##FFFFFF
##4526B11.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B5
Deuteranopia (green-blind)
#0040AF
Tritanopia (blue-blind)
#004F6B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4526b1;
/* rgb */ color: rgb(69, 38, 177);
/* oklch */ color: oklch(41.0% 0.202 283.2);
Tailwind
colors: {
  custom: {
    50: '#8665ca',
    500: '#4526b1',
    950: '#000000',
  },
}
SCSS
$custom: #4526b1;
$custom-light: #8665ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4526b1",
  "rgb": {
    "r": 69,
    "g": 38,
    "b": 177
  },
  "hsl": {
    "h": 253.381,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.41028,
    "c": 0.20198,
    "h": 283.2
  },
  "luminance": 0.05826
}

Semantic roles & 50–950 ramp

primary
#4526B1
secondary
#B3C76B
accent
#E840C2
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0D0613
muted
#7D7A82

Preview Lab

Preview with #4526B1

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

Preview Lab → · Contrast checker → · Palette generator →

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