#4F2AC3#4F2AC3

#4F2AC3 is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.2% C 0.218 H 284.2°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#4F2AC3
RGBrgb(79, 42, 195)
HSLhsl(255, 65%, 46%)
HSVhsv(255, 78%, 76%)
CMYKcmyk(59.5%, 78.5%, 0%, 23.5%)
CIE-LABlab(32.39, 54.87, -73.19)
CIE-LCHlch(32.39, 91.48, 306.86°)
OKLaboklab(44.18% 0.0532 -0.211)
OKLCHoklch(44.18% 0.218 284.2)
XYZxyz(13.8997, 7.2574, 52.2876)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2AC3 #9EC32A
analogous
#2A52C3 #4F2AC3 #9C2AC3
triadic
#4F2AC3 #C34F2A #2AC34F
tetradic
#4F2AC3 #C32A52 #9EC32A #2AC39C
square
#4F2AC3 #C32A52 #9EC32A #2AC39C
split-complementary
#4F2AC3 #C39C2A #52C32A
monochromatic
#26145E #3B1F91 #4F2AC3 #7251D9 #9B83E4

Accessibility & contrast

On white

8.57
#4F2AC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#4F2AC3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2AC3
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2AC3#FFFFFF#000000##FFFFFF
##4F2AC31.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C7
Deuteranopia (green-blind)
#0047C0
Tritanopia (blue-blind)
#005776
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4f2ac3;
/* rgb */ color: rgb(79, 42, 195);
/* oklch */ color: oklch(44.2% 0.218 284.2);
Tailwind
colors: {
  custom: {
    50: '#8e69d6',
    500: '#4f2ac3',
    950: '#000000',
  },
}
SCSS
$custom: #4f2ac3;
$custom-light: #8e69d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2ac3",
  "rgb": {
    "r": 79,
    "g": 42,
    "b": 195
  },
  "hsl": {
    "h": 254.51,
    "s": 64.557,
    "l": 46.471
  },
  "oklch": {
    "l": 0.44184,
    "c": 0.21758,
    "h": 284.2
  },
  "luminance": 0.07258
}

Semantic roles & 50–950 ramp

primary
#4F2AC3
secondary
#BACD7B
accent
#E840BF
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4F2AC3

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

Preview Lab → · Contrast checker → · Palette generator →

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