#4A248F#4A248F

#4A248F is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.0% C 0.164 H 293.2°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#4A248F
RGBrgb(74, 36, 143)
HSLhsl(261, 60%, 35%)
HSVhsv(261, 75%, 56%)
CMYKcmyk(48.3%, 74.8%, 0%, 43.9%)
CIE-LABlab(25.86, 42.37, -52.61)
CIE-LCHlch(25.86, 67.55, 308.85°)
OKLaboklab(37.98% 0.0645 -0.1508)
OKLCHoklch(37.98% 0.164 293.2)
XYZxyz(8.4115, 4.7005, 26.4454)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A248F #698F24
analogous
#24348F #4A248F #7F248F
triadic
#4A248F #8F4A24 #248F4A
tetradic
#4A248F #8F2434 #698F24 #248F7F
square
#4A248F #8F2434 #698F24 #248F7F
split-complementary
#4A248F #8F7F24 #348F24
monochromatic
#170B2D #31185E #4A248F #6330C0 #8558D5

Accessibility & contrast

On white

10.82
#4A248F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#4A248F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A248F
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A248F#FFFFFF#000000##FFFFFF
##4A248F1.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#003B8D
Tritanopia (blue-blind)
#354057
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4a248f;
/* rgb */ color: rgb(74, 36, 143);
/* oklch */ color: oklch(38.0% 0.164 293.2);
Tailwind
colors: {
  custom: {
    50: '#8463b1',
    500: '#4a248f',
    950: '#000000',
  },
}
SCSS
$custom: #4a248f;
$custom-light: #8463b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a248f",
  "rgb": {
    "r": 74,
    "g": 36,
    "b": 143
  },
  "hsl": {
    "h": 261.308,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37981,
    "c": 0.16404,
    "h": 293.2
  },
  "luminance": 0.04701
}

Semantic roles & 50–950 ramp

primary
#4A248F
secondary
#96B955
accent
#E345AB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #4A248F

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

Preview Lab → · Contrast checker → · Palette generator →

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