#4F2273#4F2273

#4F2273 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.9% C 0.134 H 306.2°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#4F2273
RGBrgb(79, 34, 115)
HSLhsl(273, 54%, 29%)
HSVhsv(273, 70%, 45%)
CMYKcmyk(31.3%, 70.4%, 0%, 54.9%)
CIE-LABlab(23.82, 36.86, -38.27)
CIE-LCHlch(23.82, 53.13, 313.93°)
OKLaboklab(35.94% 0.0794 -0.1085)
OKLCHoklch(35.94% 0.134 306.2)
XYZxyz(6.8903, 4.0442, 16.6339)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2273 #467322
analogous
#272273 #4F2273 #73226F
triadic
#4F2273 #734F22 #22734F
tetradic
#4F2273 #732722 #467322 #226F73
square
#4F2273 #732722 #467322 #226F73
split-complementary
#4F2273 #6F7322 #227327
monochromatic
#100718 #2F1444 #4F2273 #6F30A2 #8F47C9

Accessibility & contrast

On white

11.61
#4F2273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#4F2273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2273
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2273#FFFFFF#000000##FFFFFF
##4F22731.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003775
Deuteranopia (green-blind)
#0B3971
Tritanopia (blue-blind)
#493447
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4f2273;
/* rgb */ color: rgb(79, 34, 115);
/* oklch */ color: oklch(35.9% 0.134 306.2);
Tailwind
colors: {
  custom: {
    50: '#84619c',
    500: '#4f2273',
    950: '#000000',
  },
}
SCSS
$custom: #4f2273;
$custom-light: #84619c;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2273",
  "rgb": {
    "r": 79,
    "g": 34,
    "b": 115
  },
  "hsl": {
    "h": 273.333,
    "s": 54.362,
    "l": 29.216
  },
  "oklch": {
    "l": 0.35942,
    "c": 0.13447,
    "h": 306.2
  },
  "luminance": 0.04044
}

Semantic roles & 50–950 ramp

primary
#4F2273
secondary
#73A64B
accent
#DE4A8C
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4F2273

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

Preview Lab → · Contrast checker → · Palette generator →

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