#4F2673#4F2673

#4F2673 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.5% C 0.129 H 305.4°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#4F2673
RGBrgb(79, 38, 115)
HSLhsl(272, 50%, 30%)
HSVhsv(272, 67%, 45%)
CMYKcmyk(31.3%, 67%, 0%, 54.9%)
CIE-LABlab(24.60, 34.71, -37.01)
CIE-LCHlch(24.60, 50.74, 313.17°)
OKLaboklab(36.5% 0.0745 -0.1048)
OKLCHoklch(36.5% 0.129 305.4)
XYZxyz(7.0114, 4.2863, 16.6743)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2673 #4A7326
analogous
#282673 #4F2673 #732671
triadic
#4F2673 #734F26 #26734F
tetradic
#4F2673 #732826 #4A7326 #267173
square
#4F2673 #732826 #4A7326 #267173
split-complementary
#4F2673 #717326 #267328
monochromatic
#100817 #2F1745 #4F2673 #6F35A1 #8E4FC5

Accessibility & contrast

On white

11.31
#4F2673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#4F2673 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2673
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2673#FFFFFF#000000##FFFFFF
##4F26731.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003975
Deuteranopia (green-blind)
#133B71
Tritanopia (blue-blind)
#493649
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4f2673;
/* rgb */ color: rgb(79, 38, 115);
/* oklch */ color: oklch(36.5% 0.129 305.4);
Tailwind
colors: {
  custom: {
    50: '#83639c',
    500: '#4f2673',
    950: '#000000',
  },
}
SCSS
$custom: #4f2673;
$custom-light: #83639c;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2673",
  "rgb": {
    "r": 79,
    "g": 38,
    "b": 115
  },
  "hsl": {
    "h": 271.948,
    "s": 50.327,
    "l": 30
  },
  "oklch": {
    "l": 0.36503,
    "c": 0.12858,
    "h": 305.4
  },
  "luminance": 0.04286
}

Semantic roles & 50–950 ramp

primary
#4F2673
secondary
#78A64F
accent
#DA4E8F
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B050E
muted
#7C7A7E

Preview Lab

Preview with #4F2673

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

Preview Lab → · Contrast checker → · Palette generator →

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