#4A2F85#4A2F85

#4A2F85 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 38.7% C 0.137 H 293.4°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#4A2F85
RGBrgb(74, 47, 133)
HSLhsl(259, 48%, 35%)
HSVhsv(259, 65%, 52%)
CMYKcmyk(44.4%, 64.7%, 0%, 47.8%)
CIE-LABlab(27.25, 33.38, -44.13)
CIE-LCHlch(27.25, 55.33, 307.10°)
OKLaboklab(38.71% 0.0545 -0.126)
OKLCHoklch(38.71% 0.137 293.4)
XYZxyz(8.0730, 5.1821, 22.7606)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2F85 #6A852F
analogous
#2F3F85 #4A2F85 #752F85
triadic
#4A2F85 #854A2F #2F854A
tetradic
#4A2F85 #852F3F #6A852F #2F8575
square
#4A2F85 #852F3F #6A852F #2F8575
split-complementary
#4A2F85 #85752F #3F852F
monochromatic
#180F2B #311F58 #4A2F85 #633FB2 #8566C9

Accessibility & contrast

On white

10.31
#4A2F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#4A2F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2F85
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2F85#FFFFFF#000000##FFFFFF
##4A2F851.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004188
Deuteranopia (green-blind)
#003F83
Tritanopia (blue-blind)
#3A4355
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4a2f85;
/* rgb */ color: rgb(74, 47, 133);
/* oklch */ color: oklch(38.7% 0.137 293.4);
Tailwind
colors: {
  custom: {
    50: '#8169a9',
    500: '#4a2f85',
    950: '#000000',
  },
}
SCSS
$custom: #4a2f85;
$custom-light: #8169a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2f85",
  "rgb": {
    "r": 74,
    "g": 47,
    "b": 133
  },
  "hsl": {
    "h": 258.837,
    "s": 47.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38712,
    "c": 0.13725,
    "h": 293.4
  },
  "luminance": 0.05182
}

Semantic roles & 50–950 ramp

primary
#4A2F85
secondary
#97B060
accent
#D750AD
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4A2F85

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

Preview Lab → · Contrast checker → · Palette generator →

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