#4A296E#4A296E

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

Color values

HEX#4A296E
RGBrgb(74, 41, 110)
HSLhsl(269, 46%, 30%)
HSVhsv(269, 63%, 43%)
CMYKcmyk(32.7%, 62.7%, 0%, 56.9%)
CIE-LABlab(24.22, 30.39, -34.44)
CIE-LCHlch(24.22, 45.93, 311.42°)
OKLaboklab(35.97% 0.0634 -0.0975)
OKLCHoklch(35.97% 0.116 303)
XYZxyz(6.4308, 4.1675, 15.2144)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A296E #4D6E29
analogous
#292B6E #4A296E #6D296E
triadic
#4A296E #6E4A29 #296E4A
tetradic
#4A296E #6E292B #4D6E29 #296E6D
square
#4A296E #6E292B #4D6E29 #296E6D
split-complementary
#4A296E #6E6D29 #2B6E29
monochromatic
#0F0816 #2C1841 #4A296E #683A9B #8653BF

Accessibility & contrast

On white

11.45
#4A296E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#4A296E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A296E
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A296E#FFFFFF#000000##FFFFFF
##4A296E1.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063970
Deuteranopia (green-blind)
#17396C
Tritanopia (blue-blind)
#433747
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4a296e;
/* rgb */ color: rgb(74, 41, 110);
/* oklch */ color: oklch(36.0% 0.116 303.0);
Tailwind
colors: {
  custom: {
    50: '#7f6498',
    500: '#4a296e',
    950: '#000000',
  },
}
SCSS
$custom: #4a296e;
$custom-light: #7f6498;
$custom-dark: #000000;
JSON
{
  "hex": "#4a296e",
  "rgb": {
    "r": 74,
    "g": 41,
    "b": 110
  },
  "hsl": {
    "h": 268.696,
    "s": 45.695,
    "l": 29.608
  },
  "oklch": {
    "l": 0.35968,
    "c": 0.11629,
    "h": 303
  },
  "luminance": 0.04168
}

Semantic roles & 50–950 ramp

primary
#4A296E
secondary
#7BA053
accent
#D55297
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A050E
muted
#7C7A7E

Preview Lab

Preview with #4A296E

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

Preview Lab → · Contrast checker → · Palette generator →

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