#4F297A#4F297A

#4F297A is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.5% C 0.133 H 301.9°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#4F297A
RGBrgb(79, 41, 122)
HSLhsl(268, 50%, 32%)
HSVhsv(268, 66%, 48%)
CMYKcmyk(35.2%, 66.4%, 0%, 52.2%)
CIE-LABlab(25.72, 34.90, -39.65)
CIE-LCHlch(25.72, 52.82, 311.35°)
OKLaboklab(37.48% 0.0701 -0.1126)
OKLCHoklch(37.48% 0.133 301.9)
XYZxyz(7.5294, 4.6533, 18.9101)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F297A #547A29
analogous
#292C7A #4F297A #78297A
triadic
#4F297A #7A4F29 #297A4F
tetradic
#4F297A #7A292C #547A29 #297A78
square
#4F297A #7A292C #547A29 #297A78
split-complementary
#4F297A #7A7829 #2C7A29
monochromatic
#140A1E #311A4C #4F297A #6D38A8 #8B57C7

Accessibility & contrast

On white

10.88
#4F297A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#4F297A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F297A
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F297A#FFFFFF#000000##FFFFFF
##4F297A1.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7D
Deuteranopia (green-blind)
#0B3D78
Tritanopia (blue-blind)
#463B4D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4f297a;
/* rgb */ color: rgb(79, 41, 122);
/* oklch */ color: oklch(37.5% 0.133 301.9);
Tailwind
colors: {
  custom: {
    50: '#8465a1',
    500: '#4f297a',
    950: '#000000',
  },
}
SCSS
$custom: #4f297a;
$custom-light: #8465a1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f297a",
  "rgb": {
    "r": 79,
    "g": 41,
    "b": 122
  },
  "hsl": {
    "h": 268.148,
    "s": 49.693,
    "l": 31.961
  },
  "oklch": {
    "l": 0.3748,
    "c": 0.13264,
    "h": 301.9
  },
  "luminance": 0.04653
}

Semantic roles & 50–950 ramp

primary
#4F297A
secondary
#82AC53
accent
#D94F98
background
#F8F6FA
surface
#EFEBF3
border
#CAC6CD
text
#0B060F
muted
#7C7A7F

Preview Lab

Preview with #4F297A

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

Preview Lab → · Contrast checker → · Palette generator →

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