#4A249F#4A249F

#4A249F is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.5% C 0.183 H 289.3°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#4A249F
RGBrgb(74, 36, 159)
HSLhsl(259, 63%, 38%)
HSVhsv(259, 77%, 62%)
CMYKcmyk(53.5%, 77.4%, 0%, 37.6%)
CIE-LABlab(27.35, 46.88, -59.99)
CIE-LCHlch(27.35, 76.13, 308.01°)
OKLaboklab(39.48% 0.0603 -0.1725)
OKLCHoklch(39.48% 0.183 289.3)
XYZxyz(9.7111, 5.2203, 33.2901)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A249F #799F24
analogous
#243B9F #4A249F #87249F
triadic
#4A249F #9F4A24 #249F4A
tetradic
#4A249F #9F243B #799F24 #249F87
square
#4A249F #9F243B #799F24 #249F87
split-complementary
#4A249F #9F8724 #3B9F24
monochromatic
#1C0D3B #33196D #4A249F #6230D0 #8762DB

Accessibility & contrast

On white

10.27
#4A249F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#4A249F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A249F
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A249F#FFFFFF#000000##FFFFFF
##4A249F1.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#003E9D
Tritanopia (blue-blind)
#294760
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4a249f;
/* rgb */ color: rgb(74, 36, 159);
/* oklch */ color: oklch(39.5% 0.183 289.3);
Tailwind
colors: {
  custom: {
    50: '#8663bc',
    500: '#4a249f',
    950: '#000000',
  },
}
SCSS
$custom: #4a249f;
$custom-light: #8663bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a249f",
  "rgb": {
    "r": 74,
    "g": 36,
    "b": 159
  },
  "hsl": {
    "h": 258.537,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39484,
    "c": 0.1827,
    "h": 289.3
  },
  "luminance": 0.05221
}

Semantic roles & 50–950 ramp

primary
#4A249F
secondary
#A2C15E
accent
#E642B3
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4A249F

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

Preview Lab → · Contrast checker → · Palette generator →

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