#4A246A#4A246A

#4A246A is a dark, moderate violet. Relative luminance 0.038; OKLCH L 34.9% C 0.119 H 306.1°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#4A246A
RGBrgb(74, 36, 106)
HSLhsl(273, 49%, 28%)
HSVhsv(273, 66%, 42%)
CMYKcmyk(30.2%, 66%, 0%, 58.4%)
CIE-LABlab(22.86, 32.22, -34.05)
CIE-LCHlch(22.86, 46.88, 313.42°)
OKLaboklab(34.89% 0.0703 -0.0963)
OKLCHoklch(34.89% 0.119 306.1)
XYZxyz(6.0559, 3.7583, 14.0393)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A246A #446A24
analogous
#27246A #4A246A #6A2467
triadic
#4A246A #6A4A24 #246A4A
tetradic
#4A246A #6A2724 #446A24 #24676A
square
#4A246A #6A2724 #446A24 #24676A
split-complementary
#4A246A #676A24 #246A27
monochromatic
#100817 #2A143C #4A246A #6A3498 #8948C1

Accessibility & contrast

On white

11.99
#4A246A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#4A246A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A246A
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A246A#FFFFFF#000000##FFFFFF
##4A246A1.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356C
Deuteranopia (green-blind)
#153768
Tritanopia (blue-blind)
#453243
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4a246a;
/* rgb */ color: rgb(74, 36, 106);
/* oklch */ color: oklch(34.9% 0.119 306.1);
Tailwind
colors: {
  custom: {
    50: '#7f6195',
    500: '#4a246a',
    950: '#000000',
  },
}
SCSS
$custom: #4a246a;
$custom-light: #7f6195;
$custom-dark: #000000;
JSON
{
  "hex": "#4a246a",
  "rgb": {
    "r": 74,
    "g": 36,
    "b": 106
  },
  "hsl": {
    "h": 272.571,
    "s": 49.296,
    "l": 27.843
  },
  "oklch": {
    "l": 0.34887,
    "c": 0.11925,
    "h": 306.1
  },
  "luminance": 0.03758
}

Semantic roles & 50–950 ramp

primary
#4A246A
secondary
#719D4D
accent
#D94F8E
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050D
muted
#7C797E

Preview Lab

Preview with #4A246A

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

Preview Lab → · Contrast checker → · Palette generator →

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