#4F2CA9#4F2CA9

#4F2CA9 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.9% C 0.186 H 288.5°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#4F2CA9
RGBrgb(79, 44, 169)
HSLhsl(257, 59%, 42%)
HSVhsv(257, 74%, 66%)
CMYKcmyk(53.3%, 74%, 0%, 33.7%)
CIE-LABlab(30.22, 46.50, -61.31)
CIE-LCHlch(30.22, 76.95, 307.18°)
OKLaboklab(41.91% 0.0588 -0.1762)
OKLCHoklch(41.91% 0.186 288.5)
XYZxyz(11.2845, 6.3277, 38.1552)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2CA9 #86A92C
analogous
#2C48A9 #4F2CA9 #8E2CA9
triadic
#4F2CA9 #A94F2C #2CA94F
tetradic
#4F2CA9 #A92C48 #86A92C #2CA98E
square
#4F2CA9 #A92C48 #86A92C #2CA98E
split-complementary
#4F2CA9 #A98E2C #48A92C
monochromatic
#221348 #381F78 #4F2CA9 #6B44CE #9174DB

Accessibility & contrast

On white

9.27
#4F2CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#4F2CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2CA9
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2CA9#FFFFFF#000000##FFFFFF
##4F2CA91.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAD
Deuteranopia (green-blind)
#0044A7
Tritanopia (blue-blind)
#2C4E68
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4f2ca9;
/* rgb */ color: rgb(79, 44, 169);
/* oklch */ color: oklch(41.9% 0.186 288.5);
Tailwind
colors: {
  custom: {
    50: '#8a69c4',
    500: '#4f2ca9',
    950: '#000000',
  },
}
SCSS
$custom: #4f2ca9;
$custom-light: #8a69c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2ca9",
  "rgb": {
    "r": 79,
    "g": 44,
    "b": 169
  },
  "hsl": {
    "h": 256.8,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.41914,
    "c": 0.18578,
    "h": 288.5
  },
  "luminance": 0.06328
}

Semantic roles & 50–950 ramp

primary
#4F2CA9
secondary
#ABC36E
accent
#E246B6
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4F2CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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