#4A249E#4A249E

#4A249E is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.4% C 0.182 H 289.5°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#4A249E
RGBrgb(74, 36, 158)
HSLhsl(259, 63%, 38%)
HSVhsv(259, 77%, 62%)
CMYKcmyk(53.2%, 77.2%, 0%, 38%)
CIE-LABlab(27.26, 46.60, -59.54)
CIE-LCHlch(27.26, 75.60, 308.05°)
OKLaboklab(39.39% 0.0606 -0.1711)
OKLCHoklch(39.39% 0.182 289.5)
XYZxyz(9.6247, 5.1858, 32.8349)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A249E #789E24
analogous
#243B9E #4A249E #87249E
triadic
#4A249E #9E4A24 #249E4A
tetradic
#4A249E #9E243B #789E24 #249E87
square
#4A249E #9E243B #789E24 #249E87
split-complementary
#4A249E #9E8724 #3B9E24
monochromatic
#1B0D3A #33196C #4A249E #612FD0 #8761DB

Accessibility & contrast

On white

10.31
#4A249E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A249E
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A249E#FFFFFF#000000##FFFFFF
##4A249E1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A1
Deuteranopia (green-blind)
#003D9C
Tritanopia (blue-blind)
#2A4660
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4a249e;
/* rgb */ color: rgb(74, 36, 158);
/* oklch */ color: oklch(39.4% 0.182 289.5);
Tailwind
colors: {
  custom: {
    50: '#8663bc',
    500: '#4a249e',
    950: '#000000',
  },
}
SCSS
$custom: #4a249e;
$custom-light: #8663bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a249e",
  "rgb": {
    "r": 74,
    "g": 36,
    "b": 158
  },
  "hsl": {
    "h": 258.689,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39387,
    "c": 0.18155,
    "h": 289.5
  },
  "luminance": 0.05186
}

Semantic roles & 50–950 ramp

primary
#4A249E
secondary
#A2C05E
accent
#E642B3
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4A249E

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

Preview Lab → · Contrast checker → · Palette generator →

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