#4F2AA3#4F2AA3

#4F2AA3 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.1% C 0.181 H 290.0°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#4F2AA3
RGBrgb(79, 42, 163)
HSLhsl(258, 59%, 40%)
HSVhsv(258, 74%, 64%)
CMYKcmyk(51.5%, 74.2%, 0%, 36.1%)
CIE-LABlab(29.32, 45.81, -59.17)
CIE-LCHlch(29.32, 74.83, 307.74°)
OKLaboklab(41.11% 0.062 -0.17)
OKLCHoklch(41.11% 0.181 290)
XYZxyz(10.6614, 5.9621, 35.2323)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2AA3 #7EA32A
analogous
#2A42A3 #4F2AA3 #8B2AA3
triadic
#4F2AA3 #A34F2A #2AA34F
tetradic
#4F2AA3 #A32A42 #7EA32A #2AA38B
square
#4F2AA3 #A32A42 #7EA32A #2AA38B
split-complementary
#4F2AA3 #A38B2A #42A32A
monochromatic
#201142 #371D72 #4F2AA3 #693DCD #8F6EDA

Accessibility & contrast

On white

9.58
#4F2AA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#4F2AA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2AA3
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2AA3#FFFFFF#000000##FFFFFF
##4F2AA31.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A7
Deuteranopia (green-blind)
#0042A1
Tritanopia (blue-blind)
#314B64
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4f2aa3;
/* rgb */ color: rgb(79, 42, 163);
/* oklch */ color: oklch(41.1% 0.181 290.0);
Tailwind
colors: {
  custom: {
    50: '#8967bf',
    500: '#4f2aa3',
    950: '#000000',
  },
}
SCSS
$custom: #4f2aa3;
$custom-light: #8967bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2aa3",
  "rgb": {
    "r": 79,
    "g": 42,
    "b": 163
  },
  "hsl": {
    "h": 258.347,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.41106,
    "c": 0.18091,
    "h": 290
  },
  "luminance": 0.05963
}

Semantic roles & 50–950 ramp

primary
#4F2AA3
secondary
#A6C068
accent
#E246B2
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4F2AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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