#4A2F6A#4A2F6A

#4A2F6A is a dark, moderate violet. Relative luminance 0.045; OKLCH L 36.7% C 0.101 H 302.9°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#4A2F6A
RGBrgb(74, 47, 106)
HSLhsl(267, 39%, 30%)
HSVhsv(267, 56%, 42%)
CMYKcmyk(30.2%, 55.7%, 0%, 58.4%)
CIE-LABlab(25.35, 25.62, -30.05)
CIE-LCHlch(25.35, 39.49, 310.45°)
OKLaboklab(36.71% 0.0547 -0.0846)
OKLCHoklch(36.71% 0.101 302.9)
XYZxyz(6.4415, 4.5295, 14.1678)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2F6A #4F6A2F
analogous
#2F316A #4A2F6A #682F6A
triadic
#4A2F6A #6A4A2F #2F6A4A
tetradic
#4A2F6A #6A2F31 #4F6A2F #2F6A68
square
#4A2F6A #6A2F31 #4F6A2F #2F6A68
split-complementary
#4A2F6A #6A682F #316A2F
monochromatic
#0F0915 #2C1C40 #4A2F6A #684294 #865CB7

Accessibility & contrast

On white

11.02
#4A2F6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#4A2F6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2F6A
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2F6A#FFFFFF#000000##FFFFFF
##4A2F6A1.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3C6C
Deuteranopia (green-blind)
#233C69
Tritanopia (blue-blind)
#443A47
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4a2f6a;
/* rgb */ color: rgb(74, 47, 106);
/* oklch */ color: oklch(36.7% 0.101 302.9);
Tailwind
colors: {
  custom: {
    50: '#7f6895',
    500: '#4a2f6a',
    950: '#000000',
  },
}
SCSS
$custom: #4a2f6a;
$custom-light: #7f6895;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2f6a",
  "rgb": {
    "r": 74,
    "g": 47,
    "b": 106
  },
  "hsl": {
    "h": 267.458,
    "s": 38.562,
    "l": 30
  },
  "oklch": {
    "l": 0.36715,
    "c": 0.10078,
    "h": 302.9
  },
  "luminance": 0.04529
}

Semantic roles & 50–950 ramp

primary
#4A2F6A
secondary
#7D9B59
accent
#CE5999
background
#F7F6F9
surface
#EEEBF1
border
#C9C6CB
text
#0A060D
muted
#7C7A7E

Preview Lab

Preview with #4A2F6A

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

Preview Lab → · Contrast checker → · Palette generator →

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