#4F2276#4F2276

#4F2276 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.2% C 0.138 H 305.0°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#4F2276
RGBrgb(79, 34, 118)
HSLhsl(272, 55%, 30%)
HSVhsv(272, 71%, 46%)
CMYKcmyk(33.1%, 71.2%, 0%, 53.7%)
CIE-LABlab(24.05, 37.63, -39.81)
CIE-LCHlch(24.05, 54.78, 313.38°)
OKLaboklab(36.18% 0.0791 -0.113)
OKLCHoklch(36.18% 0.138 305)
XYZxyz(7.0658, 4.1144, 17.5579)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2276 #497622
analogous
#252276 #4F2276 #762273
triadic
#4F2276 #764F22 #22764F
tetradic
#4F2276 #762522 #497622 #227376
square
#4F2276 #762522 #497622 #227376
split-complementary
#4F2276 #737622 #227625
monochromatic
#100718 #2F1446 #4F2276 #6F30A6 #8E48CA

Accessibility & contrast

On white

11.52
#4F2276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#4F2276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2276
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2276#FFFFFF#000000##FFFFFF
##4F22761.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003879
Deuteranopia (green-blind)
#043974
Tritanopia (blue-blind)
#483549
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4f2276;
/* rgb */ color: rgb(79, 34, 118);
/* oklch */ color: oklch(36.2% 0.138 305.0);
Tailwind
colors: {
  custom: {
    50: '#84619e',
    500: '#4f2276',
    950: '#000000',
  },
}
SCSS
$custom: #4f2276;
$custom-light: #84619e;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2276",
  "rgb": {
    "r": 79,
    "g": 34,
    "b": 118
  },
  "hsl": {
    "h": 272.143,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.36179,
    "c": 0.13795,
    "h": 305
  },
  "luminance": 0.04114
}

Semantic roles & 50–950 ramp

primary
#4F2276
secondary
#77A94B
accent
#DF498F
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4F2276

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

Preview Lab → · Contrast checker → · Palette generator →

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