#4F276D#4F276D

#4F276D is a dark, moderate violet. Relative luminance 0.042; OKLCH L 36.2% C 0.120 H 307.8°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#4F276D
RGBrgb(79, 39, 109)
HSLhsl(274, 47%, 29%)
HSVhsv(274, 64%, 43%)
CMYKcmyk(27.5%, 64.2%, 0%, 57.3%)
CIE-LABlab(24.38, 32.60, -33.51)
CIE-LCHlch(24.38, 46.75, 314.22°)
OKLaboklab(36.21% 0.0734 -0.0945)
OKLCHoklch(36.21% 0.12 307.8)
XYZxyz(6.7097, 4.2175, 14.9256)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F276D #456D27
analogous
#2C276D #4F276D #6D2768
triadic
#4F276D #6D4F27 #276D4F
tetradic
#4F276D #6D2C27 #456D27 #27686D
square
#4F276D #6D2C27 #456D27 #27686D
split-complementary
#4F276D #686D27 #276D2C
monochromatic
#100817 #2E1740 #4F276D #70379A #8F4FC0

Accessibility & contrast

On white

11.39
#4F276D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#4F276D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F276D
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F276D#FFFFFF#000000##FFFFFF
##4F276D1.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06386F
Deuteranopia (green-blind)
#1C3A6B
Tritanopia (blue-blind)
#4A3546
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4f276d;
/* rgb */ color: rgb(79, 39, 109);
/* oklch */ color: oklch(36.2% 0.120 307.8);
Tailwind
colors: {
  custom: {
    50: '#836397',
    500: '#4f276d',
    950: '#000000',
  },
}
SCSS
$custom: #4f276d;
$custom-light: #836397;
$custom-dark: #000000;
JSON
{
  "hex": "#4f276d",
  "rgb": {
    "r": 79,
    "g": 39,
    "b": 109
  },
  "hsl": {
    "h": 274.286,
    "s": 47.297,
    "l": 29.02
  },
  "oklch": {
    "l": 0.36209,
    "c": 0.11972,
    "h": 307.8
  },
  "luminance": 0.04217
}

Semantic roles & 50–950 ramp

primary
#4F276D
secondary
#72A050
accent
#D7518A
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B050D
muted
#7C7A7E

Preview Lab

Preview with #4F276D

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

Preview Lab → · Contrast checker → · Palette generator →

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