#4A2A67#4A2A67

#4A2A67 is a dark, moderate violet. Relative luminance 0.041; OKLCH L 35.6% C 0.105 H 306.0°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#4A2A67
RGBrgb(74, 42, 103)
HSLhsl(271, 42%, 28%)
HSVhsv(271, 59%, 40%)
CMYKcmyk(28.2%, 59.2%, 0%, 59.6%)
CIE-LABlab(23.97, 27.90, -30.31)
CIE-LCHlch(23.97, 41.20, 312.62°)
OKLaboklab(35.64% 0.0619 -0.0854)
OKLCHoklch(35.64% 0.105 306)
XYZxyz(6.0997, 4.0911, 13.2977)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2A67 #47672A
analogous
#2B2A67 #4A2A67 #672A65
triadic
#4A2A67 #674A2A #2A674A
tetradic
#4A2A67 #672B2A #47672A #2A6567
square
#4A2A67 #672B2A #47672A #2A6567
split-complementary
#4A2A67 #65672A #2A672B
monochromatic
#100916 #2B183C #4A2A67 #693C92 #8853B9

Accessibility & contrast

On white

11.55
#4A2A67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#4A2A67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2A67
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2A67#FFFFFF#000000##FFFFFF
##4A2A671.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143869
Deuteranopia (green-blind)
#203966
Tritanopia (blue-blind)
#453544
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4a2a67;
/* rgb */ color: rgb(74, 42, 103);
/* oklch */ color: oklch(35.6% 0.105 306.0);
Tailwind
colors: {
  custom: {
    50: '#7f6593',
    500: '#4a2a67',
    950: '#000000',
  },
}
SCSS
$custom: #4a2a67;
$custom-light: #7f6593;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2a67",
  "rgb": {
    "r": 74,
    "g": 42,
    "b": 103
  },
  "hsl": {
    "h": 271.475,
    "s": 42.069,
    "l": 28.431
  },
  "oklch": {
    "l": 0.35635,
    "c": 0.10548,
    "h": 306
  },
  "luminance": 0.04091
}

Semantic roles & 50–950 ramp

primary
#4A2A67
secondary
#759954
accent
#D25691
background
#F7F6F9
surface
#EEEBF1
border
#C9C6CB
text
#0A050D
muted
#7C7A7E

Preview Lab

Preview with #4A2A67

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

Preview Lab → · Contrast checker → · Palette generator →

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