#4F2A83#4F2A83

#4F2A83 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.3% C 0.142 H 298.5°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#4F2A83
RGBrgb(79, 42, 131)
HSLhsl(265, 51%, 34%)
HSVhsv(265, 68%, 51%)
CMYKcmyk(39.7%, 67.9%, 0%, 48.6%)
CIE-LABlab(26.61, 36.80, -43.88)
CIE-LCHlch(26.61, 57.27, 309.98°)
OKLaboklab(38.34% 0.068 -0.125)
OKLCHoklch(38.34% 0.142 298.5)
XYZxyz(8.1481, 4.9568, 21.9958)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2A83 #5E832A
analogous
#2A3283 #4F2A83 #7C2A83
triadic
#4F2A83 #834F2A #2A834F
tetradic
#4F2A83 #832A32 #5E832A #2A837C
square
#4F2A83 #832A32 #5E832A #2A837C
split-complementary
#4F2A83 #837C2A #32832A
monochromatic
#170C26 #331B55 #4F2A83 #6B39B1 #8A5DCB

Accessibility & contrast

On white

10.55
#4F2A83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#4F2A83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2A83
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2A83#FFFFFF#000000##FFFFFF
##4F2A831.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F86
Deuteranopia (green-blind)
#003E81
Tritanopia (blue-blind)
#433E52
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4f2a83;
/* rgb */ color: rgb(79, 42, 131);
/* oklch */ color: oklch(38.3% 0.142 298.5);
Tailwind
colors: {
  custom: {
    50: '#8566a8',
    500: '#4f2a83',
    950: '#000000',
  },
}
SCSS
$custom: #4f2a83;
$custom-light: #8566a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2a83",
  "rgb": {
    "r": 79,
    "g": 42,
    "b": 131
  },
  "hsl": {
    "h": 264.944,
    "s": 51.445,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38337,
    "c": 0.14233,
    "h": 298.5
  },
  "luminance": 0.04957
}

Semantic roles & 50–950 ramp

primary
#4F2A83
secondary
#8CB158
accent
#DB4DA0
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4F2A83

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

Preview Lab → · Contrast checker → · Palette generator →

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