#4521A6#4521A6

#4521A6 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.3% C 0.194 H 285.7°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#4521A6
RGBrgb(69, 33, 166)
HSLhsl(256, 67%, 39%)
HSVhsv(256, 80%, 65%)
CMYKcmyk(58.4%, 80.1%, 0%, 34.9%)
CIE-LABlab(27.03, 49.60, -64.78)
CIE-LCHlch(27.03, 81.59, 307.44°)
OKLaboklab(39.35% 0.0525 -0.1866)
OKLCHoklch(39.35% 0.194 285.7)
XYZxyz(9.8790, 5.1055, 36.5339)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4521A6 #82A621
analogous
#213FA6 #4521A6 #8821A6
triadic
#4521A6 #A64521 #21A645
tetradic
#4521A6 #A6213F #82A621 #21A688
square
#4521A6 #A6213F #82A621 #21A688
split-complementary
#4521A6 #A68821 #3FA621
monochromatic
#1B0D40 #301773 #4521A6 #5C2FD6 #8462E0

Accessibility & contrast

On white

10.39
#4521A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#4521A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4521A6
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4521A6#FFFFFF#000000##FFFFFF
##4521A61.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AA
Deuteranopia (green-blind)
#003CA4
Tritanopia (blue-blind)
#104964
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4521a6;
/* rgb */ color: rgb(69, 33, 166);
/* oklch */ color: oklch(39.3% 0.194 285.7);
Tailwind
colors: {
  custom: {
    50: '#8562c2',
    500: '#4521a6',
    950: '#000000',
  },
}
SCSS
$custom: #4521a6;
$custom-light: #8562c2;
$custom-dark: #000000;
JSON
{
  "hex": "#4521a6",
  "rgb": {
    "r": 69,
    "g": 33,
    "b": 166
  },
  "hsl": {
    "h": 256.241,
    "s": 66.834,
    "l": 39.02
  },
  "oklch": {
    "l": 0.39345,
    "c": 0.19386,
    "h": 285.7
  },
  "luminance": 0.05106
}

Semantic roles & 50–950 ramp

primary
#4521A6
secondary
#A9C55E
accent
#EA3EBB
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #4521A6

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

Preview Lab → · Contrast checker → · Palette generator →

#4521A6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva