#4526A2#4526A2

#4526A2 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.5% C 0.184 H 285.8°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#4526A2
RGBrgb(69, 38, 162)
HSLhsl(255, 62%, 39%)
HSVhsv(255, 77%, 64%)
CMYKcmyk(57.4%, 76.5%, 0%, 36.5%)
CIE-LABlab(27.46, 46.06, -61.65)
CIE-LCHlch(27.46, 76.96, 306.76°)
OKLaboklab(39.52% 0.0503 -0.1775)
OKLCHoklch(39.52% 0.185 285.8)
XYZxyz(9.6670, 5.2595, 34.6812)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4526A2 #83A226
analogous
#2645A2 #4526A2 #8326A2
triadic
#4526A2 #A24526 #26A245
tetradic
#4526A2 #A22645 #83A226 #26A283
square
#4526A2 #A22645 #83A226 #26A283
split-complementary
#4526A2 #A28326 #45A226
monochromatic
#1B0F3F #301A70 #4526A2 #5C35D0 #8467DB

Accessibility & contrast

On white

10.23
#4526A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#4526A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4526A2
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4526A2#FFFFFF#000000##FFFFFF
##4526A21.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4526a2;
/* rgb */ color: rgb(69, 38, 162);
/* oklch */ color: oklch(39.5% 0.184 285.8);
Tailwind
colors: {
  custom: {
    50: '#8464bf',
    500: '#4526a2',
    950: '#000000',
  },
}
SCSS
$custom: #4526a2;
$custom-light: #8464bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4526a2",
  "rgb": {
    "r": 69,
    "g": 38,
    "b": 162
  },
  "hsl": {
    "h": 255,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39523,
    "c": 0.1845,
    "h": 285.8
  },
  "luminance": 0.0526
}

Semantic roles & 50–950 ramp

primary
#4526A2
secondary
#AAC163
accent
#E543BC
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4526A2

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

Preview Lab → · Contrast checker → · Palette generator →

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