#4A289C#4A289C

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

Color values

HEX#4A289C
RGBrgb(74, 40, 156)
HSLhsl(258, 59%, 38%)
HSVhsv(258, 74%, 61%)
CMYKcmyk(52.6%, 74.4%, 0%, 38.8%)
CIE-LABlab(27.77, 44.03, -57.47)
CIE-LCHlch(27.77, 72.40, 307.46°)
OKLaboklab(39.69% 0.0578 -0.1651)
OKLCHoklch(39.69% 0.175 289.3)
XYZxyz(9.5818, 5.3733, 31.9783)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A289C #7A9C28
analogous
#28409C #4A289C #84289C
triadic
#4A289C #9C4A28 #289C4A
tetradic
#4A289C #9C2840 #7A9C28 #289C84
square
#4A289C #9C2840 #7A9C28 #289C84
split-complementary
#4A289C #9C8428 #409C28
monochromatic
#1C0F3B #331C6B #4A289C #6236CB #8867D8

Accessibility & contrast

On white

10.12
#4A289C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#4A289C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A289C
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A289C#FFFFFF#000000##FFFFFF
##4A289C1.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a289c;
/* rgb */ color: rgb(74, 40, 156);
/* oklch */ color: oklch(39.7% 0.175 289.3);
Tailwind
colors: {
  custom: {
    50: '#8565ba',
    500: '#4a289c',
    950: '#000000',
  },
}
SCSS
$custom: #4a289c;
$custom-light: #8565ba;
$custom-dark: #000000;
JSON
{
  "hex": "#4a289c",
  "rgb": {
    "r": 74,
    "g": 40,
    "b": 156
  },
  "hsl": {
    "h": 257.586,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.39693,
    "c": 0.17496,
    "h": 289.3
  },
  "luminance": 0.05374
}

Semantic roles & 50–950 ramp

primary
#4A289C
secondary
#A3BE62
accent
#E245B4
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4A289C

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

Preview Lab → · Contrast checker → · Palette generator →

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