#4F2783#4F2783

#4F2783 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.9% C 0.146 H 299.2°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#4F2783
RGBrgb(79, 39, 131)
HSLhsl(266, 54%, 33%)
HSVhsv(266, 70%, 51%)
CMYKcmyk(39.7%, 70.2%, 0%, 48.6%)
CIE-LABlab(26.02, 38.44, -44.85)
CIE-LCHlch(26.02, 59.07, 310.60°)
OKLaboklab(37.91% 0.0714 -0.1279)
OKLCHoklch(37.91% 0.146 299.2)
XYZxyz(8.0457, 4.7519, 21.9617)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2783 #5B8327
analogous
#272D83 #4F2783 #7D2783
triadic
#4F2783 #834F27 #27834F
tetradic
#4F2783 #83272D #5B8327 #27837D
square
#4F2783 #83272D #5B8327 #27837D
split-complementary
#4F2783 #837D27 #2D8327
monochromatic
#160B25 #331954 #4F2783 #6B35B2 #8B57CD

Accessibility & contrast

On white

10.77
#4F2783 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#4F2783 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2783
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2783#FFFFFF#000000##FFFFFF
##4F27831.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E86
Deuteranopia (green-blind)
#003D81
Tritanopia (blue-blind)
#433D52
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4f2783;
/* rgb */ color: rgb(79, 39, 131);
/* oklch */ color: oklch(37.9% 0.146 299.2);
Tailwind
colors: {
  custom: {
    50: '#8564a8',
    500: '#4f2783',
    950: '#000000',
  },
}
SCSS
$custom: #4f2783;
$custom-light: #8564a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2783",
  "rgb": {
    "r": 79,
    "g": 39,
    "b": 131
  },
  "hsl": {
    "h": 266.087,
    "s": 54.118,
    "l": 33.333
  },
  "oklch": {
    "l": 0.3791,
    "c": 0.14647,
    "h": 299.2
  },
  "luminance": 0.04752
}

Semantic roles & 50–950 ramp

primary
#4F2783
secondary
#89B254
accent
#DD4A9D
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4F2783

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

Preview Lab → · Contrast checker → · Palette generator →

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