#4F2773#4F2773

#4F2773 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 36.6% C 0.127 H 305.2°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#4F2773
RGBrgb(79, 39, 115)
HSLhsl(272, 49%, 30%)
HSVhsv(272, 66%, 45%)
CMYKcmyk(31.3%, 66.1%, 0%, 54.9%)
CIE-LABlab(24.80, 34.16, -36.68)
CIE-LCHlch(24.80, 50.12, 312.96°)
OKLaboklab(36.65% 0.0732 -0.1039)
OKLCHoklch(36.65% 0.127 305.2)
XYZxyz(7.0438, 4.3512, 16.6851)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2773 #4B7327
analogous
#292773 #4F2773 #732771
triadic
#4F2773 #734F27 #27734F
tetradic
#4F2773 #732927 #4B7327 #277173
square
#4F2773 #732927 #4B7327 #277173
split-complementary
#4F2773 #717327 #277329
monochromatic
#100818 #301845 #4F2773 #6E36A1 #8D51C4

Accessibility & contrast

On white

11.23
#4F2773 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#4F2773 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2773
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2773#FFFFFF#000000##FFFFFF
##4F27731.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A75
Deuteranopia (green-blind)
#143B71
Tritanopia (blue-blind)
#493749
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4f2773;
/* rgb */ color: rgb(79, 39, 115);
/* oklch */ color: oklch(36.6% 0.127 305.2);
Tailwind
colors: {
  custom: {
    50: '#83649c',
    500: '#4f2773',
    950: '#000000',
  },
}
SCSS
$custom: #4f2773;
$custom-light: #83649c;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2773",
  "rgb": {
    "r": 79,
    "g": 39,
    "b": 115
  },
  "hsl": {
    "h": 271.579,
    "s": 49.351,
    "l": 30.196
  },
  "oklch": {
    "l": 0.3665,
    "c": 0.12705,
    "h": 305.2
  },
  "luminance": 0.04351
}

Semantic roles & 50–950 ramp

primary
#4F2773
secondary
#79A550
accent
#D94F90
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B050E
muted
#7C7A7E

Preview Lab

Preview with #4F2773

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

Preview Lab → · Contrast checker → · Palette generator →

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