#4F296F#4F296F

#4F296F is a dark, moderate violet. Relative luminance 0.044; OKLCH L 36.7% C 0.119 H 306.4°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#4F296F
RGBrgb(79, 41, 111)
HSLhsl(273, 46%, 30%)
HSVhsv(273, 63%, 44%)
CMYKcmyk(28.8%, 63.1%, 0%, 56.5%)
CIE-LABlab(24.94, 31.98, -33.89)
CIE-LCHlch(24.94, 46.60, 313.33°)
OKLaboklab(36.66% 0.0707 -0.0957)
OKLCHoklch(36.66% 0.119 306.4)
XYZxyz(6.8860, 4.3959, 15.5216)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F296F #496F29
analogous
#2C296F #4F296F #6F296C
triadic
#4F296F #6F4F29 #296F4F
tetradic
#4F296F #6F2C29 #496F29 #296C6F
square
#4F296F #6F2C29 #496F29 #296C6F
split-complementary
#4F296F #6C6F29 #296F2C
monochromatic
#100816 #2F1842 #4F296F #6F3A9C #8E53BF

Accessibility & contrast

On white

11.17
#4F296F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#4F296F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F296F
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F296F#FFFFFF#000000##FFFFFF
##4F296F1.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093A71
Deuteranopia (green-blind)
#1C3B6D
Tritanopia (blue-blind)
#4A3748
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4f296f;
/* rgb */ color: rgb(79, 41, 111);
/* oklch */ color: oklch(36.7% 0.119 306.4);
Tailwind
colors: {
  custom: {
    50: '#836599',
    500: '#4f296f',
    950: '#000000',
  },
}
SCSS
$custom: #4f296f;
$custom-light: #836599;
$custom-dark: #000000;
JSON
{
  "hex": "#4f296f",
  "rgb": {
    "r": 79,
    "g": 41,
    "b": 111
  },
  "hsl": {
    "h": 272.571,
    "s": 46.053,
    "l": 29.804
  },
  "oklch": {
    "l": 0.36662,
    "c": 0.11895,
    "h": 306.4
  },
  "luminance": 0.04396
}

Semantic roles & 50–950 ramp

primary
#4F296F
secondary
#77A153
accent
#D6528E
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #4F296F

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

Preview Lab → · Contrast checker → · Palette generator →

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