#4526CA#4526CA

#4526CA is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.6% C 0.230 H 279.6°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#4526CA
RGBrgb(69, 38, 202)
HSLhsl(251, 68%, 47%)
HSVhsv(251, 81%, 79%)
CMYKcmyk(65.8%, 81.2%, 0%, 20.8%)
CIE-LABlab(31.61, 57.60, -78.60)
CIE-LCHlch(31.61, 97.45, 306.24°)
OKLaboklab(43.64% 0.0385 -0.2269)
OKLCHoklch(43.64% 0.23 279.6)
XYZxyz(13.8046, 6.9146, 56.4728)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4526CA #ABCA26
analogous
#2659CA #4526CA #9726CA
triadic
#4526CA #CA4526 #26CA45
tetradic
#4526CA #CA2659 #ABCA26 #26CA97
square
#4526CA #CA2659 #ABCA26 #26CA97
split-complementary
#4526CA #CA9726 #59CA26
monochromatic
#221363 #331C96 #4526CA #6A4FDE #9683E8

Accessibility & contrast

On white

8.81
#4526CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#4526CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4526CA
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4526CA#FFFFFF#000000##FFFFFF
##4526CA1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050CE
Deuteranopia (green-blind)
#0044C7
Tritanopia (blue-blind)
#00597A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4526ca;
/* rgb */ color: rgb(69, 38, 202);
/* oklch */ color: oklch(43.6% 0.230 279.6);
Tailwind
colors: {
  custom: {
    50: '#8b67dc',
    500: '#4526ca',
    950: '#000000',
  },
}
SCSS
$custom: #4526ca;
$custom-light: #8b67dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4526ca",
  "rgb": {
    "r": 69,
    "g": 38,
    "b": 202
  },
  "hsl": {
    "h": 251.341,
    "s": 68.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.43644,
    "c": 0.23018,
    "h": 279.6
  },
  "luminance": 0.06916
}

Semantic roles & 50–950 ramp

primary
#4526CA
secondary
#C0D17B
accent
#EB3DCA
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #4526CA

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

Preview Lab → · Contrast checker → · Palette generator →

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