#4B28AF#4B28AF

#4B28AF is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.6% C 0.197 H 286.0°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#4B28AF
RGBrgb(75, 40, 175)
HSLhsl(256, 63%, 42%)
HSVhsv(256, 77%, 69%)
CMYKcmyk(57.1%, 77.1%, 0%, 31.4%)
CIE-LABlab(29.68, 49.64, -65.81)
CIE-LCHlch(29.68, 82.43, 307.03°)
OKLaboklab(41.61% 0.0543 -0.1895)
OKLCHoklch(41.61% 0.197 286)
XYZxyz(11.3960, 6.1079, 41.1276)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B28AF #8CAF28
analogous
#2848AF #4B28AF #8F28AF
triadic
#4B28AF #AF4B28 #28AF4B
tetradic
#4B28AF #AF2848 #8CAF28 #28AF8F
square
#4B28AF #AF2848 #8CAF28 #28AF8F
split-complementary
#4B28AF #AF8F28 #48AF28
monochromatic
#20114B #361D7D #4B28AF #6741D4 #8F73DF

Accessibility & contrast

On white

9.45
#4B28AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#4B28AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B28AF
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B28AF#FFFFFF#000000##FFFFFF
##4B28AF1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B3
Deuteranopia (green-blind)
#0042AD
Tritanopia (blue-blind)
#1A4F6A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4b28af;
/* rgb */ color: rgb(75, 40, 175);
/* oklch */ color: oklch(41.6% 0.197 286.0);
Tailwind
colors: {
  custom: {
    50: '#8966c8',
    500: '#4b28af',
    950: '#000000',
  },
}
SCSS
$custom: #4b28af;
$custom-light: #8966c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4b28af",
  "rgb": {
    "r": 75,
    "g": 40,
    "b": 175
  },
  "hsl": {
    "h": 255.556,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.41609,
    "c": 0.19713,
    "h": 286
  },
  "luminance": 0.06109
}

Semantic roles & 50–950 ramp

primary
#4B28AF
secondary
#AFC66D
accent
#E642BB
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4B28AF

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

Preview Lab → · Contrast checker → · Palette generator →

#4B28AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva