#4F276F#4F276F

#4F276F is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.4% C 0.122 H 306.9°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#4F276F
RGBrgb(79, 39, 111)
HSLhsl(273, 48%, 29%)
HSVhsv(273, 65%, 44%)
CMYKcmyk(28.8%, 64.9%, 0%, 56.5%)
CIE-LABlab(24.52, 33.12, -34.57)
CIE-LCHlch(24.52, 47.87, 313.77°)
OKLaboklab(36.35% 0.0734 -0.0977)
OKLCHoklch(36.35% 0.122 306.9)
XYZxyz(6.8186, 4.2611, 15.4991)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F276F #476F27
analogous
#2B276F #4F276F #6F276B
triadic
#4F276F #6F4F27 #276F4F
tetradic
#4F276F #6F2B27 #476F27 #276B6F
square
#4F276F #6F2B27 #476F27 #276B6F
split-complementary
#4F276F #6B6F27 #276F2B
monochromatic
#100817 #2F1742 #4F276F #6F379C #8F4FC1

Accessibility & contrast

On white

11.34
#4F276F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#4F276F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F276F
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F276F#FFFFFF#000000##FFFFFF
##4F276F1.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023971
Deuteranopia (green-blind)
#193B6D
Tritanopia (blue-blind)
#4A3547
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4f276f;
/* rgb */ color: rgb(79, 39, 111);
/* oklch */ color: oklch(36.4% 0.122 306.9);
Tailwind
colors: {
  custom: {
    50: '#836499',
    500: '#4f276f',
    950: '#000000',
  },
}
SCSS
$custom: #4f276f;
$custom-light: #836499;
$custom-dark: #000000;
JSON
{
  "hex": "#4f276f",
  "rgb": {
    "r": 79,
    "g": 39,
    "b": 111
  },
  "hsl": {
    "h": 273.333,
    "s": 48,
    "l": 29.412
  },
  "oklch": {
    "l": 0.36354,
    "c": 0.12216,
    "h": 306.9
  },
  "luminance": 0.04261
}

Semantic roles & 50–950 ramp

primary
#4F276F
secondary
#74A250
accent
#D8508C
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B050E
muted
#7C7A7E

Preview Lab

Preview with #4F276F

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

Preview Lab → · Contrast checker → · Palette generator →

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