#4B289C#4B289C

#4B289C is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.8% C 0.175 H 289.8°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#4B289C
RGBrgb(75, 40, 156)
HSLhsl(258, 59%, 38%)
HSVhsv(258, 74%, 61%)
CMYKcmyk(51.9%, 74.4%, 0%, 38.8%)
CIE-LABlab(27.88, 44.19, -57.29)
CIE-LCHlch(27.88, 72.35, 307.64°)
OKLaboklab(39.8% 0.0593 -0.1646)
OKLCHoklch(39.8% 0.175 289.8)
XYZxyz(9.6595, 5.4133, 31.9820)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B289C #799C28
analogous
#283F9C #4B289C #85289C
triadic
#4B289C #9C4B28 #289C4B
tetradic
#4B289C #9C283F #799C28 #289C85
square
#4B289C #9C283F #799C28 #289C85
split-complementary
#4B289C #9C8528 #3F9C28
monochromatic
#1C0F3B #341C6B #4B289C #6336CB #8967D8

Accessibility & contrast

On white

10.08
#4B289C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#4B289C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B289C
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B289C#FFFFFF#000000##FFFFFF
##4B289C1.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449F
Deuteranopia (green-blind)
#003F9A
Tritanopia (blue-blind)
#2E4760
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4b289c;
/* rgb */ color: rgb(75, 40, 156);
/* oklch */ color: oklch(39.8% 0.175 289.8);
Tailwind
colors: {
  custom: {
    50: '#8666ba',
    500: '#4b289c',
    950: '#000000',
  },
}
SCSS
$custom: #4b289c;
$custom-light: #8666ba;
$custom-dark: #000000;
JSON
{
  "hex": "#4b289c",
  "rgb": {
    "r": 75,
    "g": 40,
    "b": 156
  },
  "hsl": {
    "h": 258.103,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.39795,
    "c": 0.17493,
    "h": 289.8
  },
  "luminance": 0.05414
}

Semantic roles & 50–950 ramp

primary
#4B289C
secondary
#A2BE62
accent
#E245B3
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4B289C

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

Preview Lab → · Contrast checker → · Palette generator →

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