#4A296F#4A296F

#4A296F is a dark, moderate violet. Relative luminance 0.042; OKLCH L 36.0% C 0.118 H 302.6°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#4A296F
RGBrgb(74, 41, 111)
HSLhsl(268, 46%, 30%)
HSVhsv(268, 63%, 44%)
CMYKcmyk(33.3%, 63.1%, 0%, 56.5%)
CIE-LABlab(24.29, 30.66, -34.97)
CIE-LCHlch(24.29, 46.51, 311.24°)
OKLaboklab(36.04% 0.0634 -0.099)
OKLCHoklch(36.04% 0.118 302.6)
XYZxyz(6.4856, 4.1894, 15.5028)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A296F #4E6F29
analogous
#292B6F #4A296F #6D296F
triadic
#4A296F #6F4A29 #296F4A
tetradic
#4A296F #6F292B #4E6F29 #296F6D
square
#4A296F #6F292B #4E6F29 #296F6D
split-complementary
#4A296F #6F6D29 #2B6F29
monochromatic
#0F0816 #2C1842 #4A296F #683A9C #8653BF

Accessibility & contrast

On white

11.43
#4A296F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#4A296F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A296F
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A296F#FFFFFF#000000##FFFFFF
##4A296F1.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043971
Deuteranopia (green-blind)
#163A6D
Tritanopia (blue-blind)
#433748
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4a296f;
/* rgb */ color: rgb(74, 41, 111);
/* oklch */ color: oklch(36.0% 0.118 302.6);
Tailwind
colors: {
  custom: {
    50: '#7f6499',
    500: '#4a296f',
    950: '#000000',
  },
}
SCSS
$custom: #4a296f;
$custom-light: #7f6499;
$custom-dark: #000000;
JSON
{
  "hex": "#4a296f",
  "rgb": {
    "r": 74,
    "g": 41,
    "b": 111
  },
  "hsl": {
    "h": 268.286,
    "s": 46.053,
    "l": 29.804
  },
  "oklch": {
    "l": 0.36042,
    "c": 0.11759,
    "h": 302.6
  },
  "luminance": 0.04189
}

Semantic roles & 50–950 ramp

primary
#4A296F
secondary
#7CA153
accent
#D65298
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A050E
muted
#7C7A7E

Preview Lab

Preview with #4A296F

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

Preview Lab → · Contrast checker → · Palette generator →

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