#4A248D#4A248D

#4A248D is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.8% C 0.162 H 293.7°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#4A248D
RGBrgb(74, 36, 141)
HSLhsl(262, 59%, 35%)
HSVhsv(262, 74%, 55%)
CMYKcmyk(47.5%, 74.5%, 0%, 44.7%)
CIE-LABlab(25.68, 41.81, -51.66)
CIE-LCHlch(25.68, 66.46, 308.98°)
OKLaboklab(37.8% 0.065 -0.148)
OKLCHoklch(37.8% 0.162 293.7)
XYZxyz(8.2613, 4.6404, 25.6546)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A248D #678D24
analogous
#24338D #4A248D #7E248D
triadic
#4A248D #8D4A24 #248D4A
tetradic
#4A248D #8D2433 #678D24 #248D7E
square
#4A248D #8D2433 #678D24 #248D7E
split-complementary
#4A248D #8D7E24 #338D24
monochromatic
#170B2B #30185C #4A248D #6430BE #8457D4

Accessibility & contrast

On white

10.89
#4A248D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#4A248D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A248D
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A248D#FFFFFF#000000##FFFFFF
##4A248D1.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E90
Deuteranopia (green-blind)
#003B8B
Tritanopia (blue-blind)
#363F56
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4a248d;
/* rgb */ color: rgb(74, 36, 141);
/* oklch */ color: oklch(37.8% 0.162 293.7);
Tailwind
colors: {
  custom: {
    50: '#8362af',
    500: '#4a248d',
    950: '#000000',
  },
}
SCSS
$custom: #4a248d;
$custom-light: #8362af;
$custom-dark: #000000;
JSON
{
  "hex": "#4a248d",
  "rgb": {
    "r": 74,
    "g": 36,
    "b": 141
  },
  "hsl": {
    "h": 261.714,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37799,
    "c": 0.16168,
    "h": 293.7
  },
  "luminance": 0.04641
}

Semantic roles & 50–950 ramp

primary
#4A248D
secondary
#94B854
accent
#E345AA
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #4A248D

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

Preview Lab → · Contrast checker → · Palette generator →

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