#4F2284#4F2284

#4F2284 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.3% C 0.154 H 299.8°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#4F2284
RGBrgb(79, 34, 132)
HSLhsl(268, 59%, 33%)
HSVhsv(268, 74%, 52%)
CMYKcmyk(40.2%, 74.2%, 0%, 48.2%)
CIE-LABlab(25.17, 41.28, -46.84)
CIE-LCHlch(25.17, 62.44, 311.39°)
OKLaboklab(37.34% 0.0766 -0.1337)
OKLCHoklch(37.34% 0.154 299.8)
XYZxyz(7.9603, 4.4722, 22.2692)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2284 #578422
analogous
#222684 #4F2284 #802284
triadic
#4F2284 #844F22 #22844F
tetradic
#4F2284 #842226 #578422 #228480
square
#4F2284 #842226 #578422 #228480
split-complementary
#4F2284 #848022 #268422
monochromatic
#150923 #321553 #4F2284 #6C2FB5 #8B4FD2

Accessibility & contrast

On white

11.09
#4F2284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#4F2284 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2284
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2284#FFFFFF#000000##FFFFFF
##4F22841.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B87
Deuteranopia (green-blind)
#003B82
Tritanopia (blue-blind)
#433A51
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4f2284;
/* rgb */ color: rgb(79, 34, 132);
/* oklch */ color: oklch(37.3% 0.154 299.8);
Tailwind
colors: {
  custom: {
    50: '#8561a9',
    500: '#4f2284',
    950: '#000000',
  },
}
SCSS
$custom: #4f2284;
$custom-light: #8561a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2284",
  "rgb": {
    "r": 79,
    "g": 34,
    "b": 132
  },
  "hsl": {
    "h": 267.551,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.37337,
    "c": 0.15411,
    "h": 299.8
  },
  "luminance": 0.04472
}

Semantic roles & 50–950 ramp

primary
#4F2284
secondary
#85B54D
accent
#E2469A
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4F2284

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

Preview Lab → · Contrast checker → · Palette generator →

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