#4A246E#4A246E

#4A246E is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.2% C 0.124 H 304.4°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#4A246E
RGBrgb(74, 36, 110)
HSLhsl(271, 51%, 29%)
HSVhsv(271, 67%, 43%)
CMYKcmyk(32.7%, 67.3%, 0%, 56.9%)
CIE-LABlab(23.15, 33.28, -36.17)
CIE-LCHlch(23.15, 49.15, 312.62°)
OKLaboklab(35.19% 0.0701 -0.1025)
OKLCHoklch(35.19% 0.124 304.4)
XYZxyz(6.2688, 3.8434, 15.1604)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A246E #486E24
analogous
#25246E #4A246E #6E246D
triadic
#4A246E #6E4A24 #246E4A
tetradic
#4A246E #6E2524 #486E24 #246D6E
square
#4A246E #6E2524 #486E24 #246D6E
split-complementary
#4A246E #6D6E24 #246E25
monochromatic
#100817 #2B1540 #4A246E #69339C #8849C3

Accessibility & contrast

On white

11.87
#4A246E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A246E
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A246E#FFFFFF#000000##FFFFFF
##4A246E1.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003670
Deuteranopia (green-blind)
#0F376C
Tritanopia (blue-blind)
#433445
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4a246e;
/* rgb */ color: rgb(74, 36, 110);
/* oklch */ color: oklch(35.2% 0.124 304.4);
Tailwind
colors: {
  custom: {
    50: '#806198',
    500: '#4a246e',
    950: '#000000',
  },
}
SCSS
$custom: #4a246e;
$custom-light: #806198;
$custom-dark: #000000;
JSON
{
  "hex": "#4a246e",
  "rgb": {
    "r": 74,
    "g": 36,
    "b": 110
  },
  "hsl": {
    "h": 270.811,
    "s": 50.685,
    "l": 28.627
  },
  "oklch": {
    "l": 0.35191,
    "c": 0.12418,
    "h": 304.4
  },
  "luminance": 0.03843
}

Semantic roles & 50–950 ramp

primary
#4A246E
secondary
#76A14D
accent
#DA4E92
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #4A246E

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

Preview Lab → · Contrast checker → · Palette generator →

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