#4A246F#4A246F

#4A246F is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.3% C 0.125 H 303.9°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#4A246F
RGBrgb(74, 36, 111)
HSLhsl(270, 51%, 29%)
HSVhsv(270, 68%, 44%)
CMYKcmyk(33.3%, 67.6%, 0%, 56.5%)
CIE-LABlab(23.22, 33.55, -36.69)
CIE-LCHlch(23.22, 49.71, 312.44°)
OKLaboklab(35.27% 0.07 -0.1041)
OKLCHoklch(35.27% 0.125 303.9)
XYZxyz(6.3235, 3.8653, 15.4488)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A246F #496F24
analogous
#25246F #4A246F #6F246F
triadic
#4A246F #6F4A24 #246F4A
tetradic
#4A246F #6F2524 #496F24 #246F6F
square
#4A246F #6F2524 #496F24 #246F6F
split-complementary
#4A246F #6F6F24 #246F25
monochromatic
#0F0717 #2B1541 #4A246F #69339D #8849C4

Accessibility & contrast

On white

11.84
#4A246F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#4A246F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A246F
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A246F#FFFFFF#000000##FFFFFF
##4A246F1.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003671
Deuteranopia (green-blind)
#0D376D
Tritanopia (blue-blind)
#433446
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4a246f;
/* rgb */ color: rgb(74, 36, 111);
/* oklch */ color: oklch(35.3% 0.125 303.9);
Tailwind
colors: {
  custom: {
    50: '#806199',
    500: '#4a246f',
    950: '#000000',
  },
}
SCSS
$custom: #4a246f;
$custom-light: #806199;
$custom-dark: #000000;
JSON
{
  "hex": "#4a246f",
  "rgb": {
    "r": 74,
    "g": 36,
    "b": 111
  },
  "hsl": {
    "h": 270.4,
    "s": 51.02,
    "l": 28.824
  },
  "oklch": {
    "l": 0.35268,
    "c": 0.12542,
    "h": 303.9
  },
  "luminance": 0.03865
}

Semantic roles & 50–950 ramp

primary
#4A246F
secondary
#77A24D
accent
#DA4D93
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #4A246F

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

Preview Lab → · Contrast checker → · Palette generator →

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