#4F2A73#4F2A73

#4F2A73 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.1% C 0.122 H 304.4°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#4F2A73
RGBrgb(79, 42, 115)
HSLhsl(270, 46%, 31%)
HSVhsv(270, 63%, 45%)
CMYKcmyk(31.3%, 63.5%, 0%, 54.9%)
CIE-LABlab(25.43, 32.45, -35.67)
CIE-LCHlch(25.43, 48.22, 312.30°)
OKLaboklab(37.11% 0.0692 -0.1009)
OKLCHoklch(37.11% 0.122 304.4)
XYZxyz(7.1462, 4.5560, 16.7193)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2A73 #4E732A
analogous
#2A2A73 #4F2A73 #732A72
triadic
#4F2A73 #734F2A #2A734F
tetradic
#4F2A73 #732A2A #4E732A #2A7273
square
#4F2A73 #732A2A #4E732A #2A7273
split-complementary
#4F2A73 #72732A #2A732A
monochromatic
#110919 #301A46 #4F2A73 #6E3AA0 #8C56C1

Accessibility & contrast

On white

10.99
#4F2A73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#4F2A73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2A73
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2A73#FFFFFF#000000##FFFFFF
##4F2A731.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043B75
Deuteranopia (green-blind)
#193C71
Tritanopia (blue-blind)
#49394A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4f2a73;
/* rgb */ color: rgb(79, 42, 115);
/* oklch */ color: oklch(37.1% 0.122 304.4);
Tailwind
colors: {
  custom: {
    50: '#83669c',
    500: '#4f2a73',
    950: '#000000',
  },
}
SCSS
$custom: #4f2a73;
$custom-light: #83669c;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2a73",
  "rgb": {
    "r": 79,
    "g": 42,
    "b": 115
  },
  "hsl": {
    "h": 270.411,
    "s": 46.497,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37108,
    "c": 0.12236,
    "h": 304.4
  },
  "luminance": 0.04556
}

Semantic roles & 50–950 ramp

primary
#4F2A73
secondary
#7CA554
accent
#D65293
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #4F2A73

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

Preview Lab → · Contrast checker → · Palette generator →

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