#4526C3#4526C3

#4526C3 is a dark, highly saturated violet. Relative luminance 0.066; OKLCH L 42.9% C 0.222 H 280.5°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#4526C3
RGBrgb(69, 38, 195)
HSLhsl(252, 67%, 46%)
HSVhsv(252, 81%, 76%)
CMYKcmyk(64.6%, 80.5%, 0%, 23.5%)
CIE-LABlab(30.86, 55.61, -75.75)
CIE-LCHlch(30.86, 93.97, 306.29°)
OKLaboklab(42.9% 0.0406 -0.2186)
OKLCHoklch(42.9% 0.222 280.5)
XYZxyz(12.9946, 6.5905, 52.2065)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4526C3 #A4C326
analogous
#2655C3 #4526C3 #9326C3
triadic
#4526C3 #C34526 #26C345
tetradic
#4526C3 #C32655 #A4C326 #26C393
square
#4526C3 #C32655 #A4C326 #26C393
split-complementary
#4526C3 #C39326 #55C326
monochromatic
#21125D #331C90 #4526C3 #674ADC #927EE6

Accessibility & contrast

On white

9.06
#4526C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#4526C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4526C3
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4526C3#FFFFFF#000000##FFFFFF
##4526C31.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC7
Deuteranopia (green-blind)
#0043C0
Tritanopia (blue-blind)
#005676
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4526c3;
/* rgb */ color: rgb(69, 38, 195);
/* oklch */ color: oklch(42.9% 0.222 280.5);
Tailwind
colors: {
  custom: {
    50: '#8a66d7',
    500: '#4526c3',
    950: '#000000',
  },
}
SCSS
$custom: #4526c3;
$custom-light: #8a66d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4526c3",
  "rgb": {
    "r": 69,
    "g": 38,
    "b": 195
  },
  "hsl": {
    "h": 251.847,
    "s": 67.382,
    "l": 45.686
  },
  "oklch": {
    "l": 0.429,
    "c": 0.22239,
    "h": 280.5
  },
  "luminance": 0.06592
}

Semantic roles & 50–950 ramp

primary
#4526C3
secondary
#BDCE77
accent
#EA3EC8
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #4526C3

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

Preview Lab → · Contrast checker → · Palette generator →

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