#4A2F92#4A2F92

#4A2F92 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 39.8% C 0.154 H 290.1°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#4A2F92
RGBrgb(74, 47, 146)
HSLhsl(256, 51%, 38%)
HSVhsv(256, 68%, 57%)
CMYKcmyk(49.3%, 67.8%, 0%, 42.7%)
CIE-LABlab(28.28, 37.25, -50.51)
CIE-LCHlch(28.28, 62.76, 306.41°)
OKLaboklab(39.79% 0.053 -0.1447)
OKLCHoklch(39.79% 0.154 290.1)
XYZxyz(9.0274, 5.5638, 27.7868)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2F92 #77922F
analogous
#2F4592 #4A2F92 #7B2F92
triadic
#4A2F92 #924A2F #2F924A
tetradic
#4A2F92 #922F45 #77922F #2F927B
square
#4A2F92 #922F45 #77922F #2F927B
split-complementary
#4A2F92 #927B2F #45922F
monochromatic
#1B1135 #332064 #4A2F92 #613EC0 #876CD0

Accessibility & contrast

On white

9.94
#4A2F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#4A2F92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2F92
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2F92#FFFFFF#000000##FFFFFF
##4A2F921.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004595
Deuteranopia (green-blind)
#004090
Tritanopia (blue-blind)
#32475C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4a2f92;
/* rgb */ color: rgb(74, 47, 146);
/* oklch */ color: oklch(39.8% 0.154 290.1);
Tailwind
colors: {
  custom: {
    50: '#8369b3',
    500: '#4a2f92',
    950: '#000000',
  },
}
SCSS
$custom: #4a2f92;
$custom-light: #8369b3;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2f92",
  "rgb": {
    "r": 74,
    "g": 47,
    "b": 146
  },
  "hsl": {
    "h": 256.364,
    "s": 51.295,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39788,
    "c": 0.15412,
    "h": 290.1
  },
  "luminance": 0.05564
}

Semantic roles & 50–950 ramp

primary
#4A2F92
secondary
#A1B766
accent
#DB4DB4
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #4A2F92

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

Preview Lab → · Contrast checker → · Palette generator →

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