#4A249B#4A249B

#4A249B is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.1% C 0.178 H 290.2°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#4A249B
RGBrgb(74, 36, 155)
HSLhsl(259, 62%, 37%)
HSVhsv(259, 77%, 61%)
CMYKcmyk(52.3%, 76.8%, 0%, 39.2%)
CIE-LABlab(26.97, 45.75, -58.17)
CIE-LCHlch(26.97, 74.01, 308.18°)
OKLaboklab(39.1% 0.0614 -0.1672)
OKLCHoklch(39.1% 0.178 290.2)
XYZxyz(9.3696, 5.0838, 31.4916)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A249B #759B24
analogous
#24399B #4A249B #86249B
triadic
#4A249B #9B4A24 #249B4A
tetradic
#4A249B #9B2439 #759B24 #249B86
square
#4A249B #9B2439 #759B24 #249B86
split-complementary
#4A249B #9B8624 #399B24
monochromatic
#1B0D38 #321869 #4A249B #6230CD #875FDA

Accessibility & contrast

On white

10.41
#4A249B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#4A249B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A249B
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A249B#FFFFFF#000000##FFFFFF
##4A249B1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429E
Deuteranopia (green-blind)
#003D99
Tritanopia (blue-blind)
#2D455E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4a249b;
/* rgb */ color: rgb(74, 36, 155);
/* oklch */ color: oklch(39.1% 0.178 290.2);
Tailwind
colors: {
  custom: {
    50: '#8563ba',
    500: '#4a249b',
    950: '#000000',
  },
}
SCSS
$custom: #4a249b;
$custom-light: #8563ba;
$custom-dark: #000000;
JSON
{
  "hex": "#4a249b",
  "rgb": {
    "r": 74,
    "g": 36,
    "b": 155
  },
  "hsl": {
    "h": 259.16,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.391,
    "c": 0.17808,
    "h": 290.2
  },
  "luminance": 0.05084
}

Semantic roles & 50–950 ramp

primary
#4A249B
secondary
#9FBF5C
accent
#E542B1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #4A249B

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

Preview Lab → · Contrast checker → · Palette generator →

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