#4526AF#4526AF

#4526AF is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.8% C 0.200 H 283.5°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#4526AF
RGBrgb(69, 38, 175)
HSLhsl(254, 64%, 42%)
HSVhsv(254, 78%, 69%)
CMYKcmyk(60.6%, 78.3%, 0%, 31.4%)
CIE-LABlab(28.76, 49.85, -67.35)
CIE-LCHlch(28.76, 83.79, 306.51°)
OKLaboklab(40.82% 0.0466 -0.1942)
OKLCHoklch(40.82% 0.2 283.5)
XYZxyz(10.8828, 5.7459, 41.0847)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4526AF #90AF26
analogous
#264BAF #4526AF #8A26AF
triadic
#4526AF #AF4526 #26AF45
tetradic
#4526AF #AF264B #90AF26 #26AF8A
square
#4526AF #AF264B #90AF26 #26AF8A
split-complementary
#4526AF #AF8A26 #4BAF26
monochromatic
#1D104A #311B7D #4526AF #603DD5 #8970E0

Accessibility & contrast

On white

9.77
#4526AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#4526AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4526AF
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4526AF#FFFFFF#000000##FFFFFF
##4526AF1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B3
Deuteranopia (green-blind)
#003FAD
Tritanopia (blue-blind)
#004E6A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4526af;
/* rgb */ color: rgb(69, 38, 175);
/* oklch */ color: oklch(40.8% 0.200 283.5);
Tailwind
colors: {
  custom: {
    50: '#8665c8',
    500: '#4526af',
    950: '#000000',
  },
}
SCSS
$custom: #4526af;
$custom-light: #8665c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4526af",
  "rgb": {
    "r": 69,
    "g": 38,
    "b": 175
  },
  "hsl": {
    "h": 253.577,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40824,
    "c": 0.19967,
    "h": 283.5
  },
  "luminance": 0.05747
}

Semantic roles & 50–950 ramp

primary
#4526AF
secondary
#B2C76A
accent
#E740C2
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4526AF

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

Preview Lab → · Contrast checker → · Palette generator →

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