#4F2285#4F2285

#4F2285 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.4% C 0.155 H 299.5°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#4F2285
RGBrgb(79, 34, 133)
HSLhsl(267, 59%, 33%)
HSVhsv(267, 74%, 52%)
CMYKcmyk(40.6%, 74.4%, 0%, 47.8%)
CIE-LABlab(25.26, 41.55, -47.34)
CIE-LCHlch(25.26, 62.98, 311.27°)
OKLaboklab(37.42% 0.0764 -0.1352)
OKLCHoklch(37.42% 0.155 299.5)
XYZxyz(8.0291, 4.4997, 22.6313)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2285 #588522
analogous
#222685 #4F2285 #802285
triadic
#4F2285 #854F22 #22854F
tetradic
#4F2285 #852226 #588522 #228580
square
#4F2285 #852226 #588522 #228580
split-complementary
#4F2285 #858022 #268522
monochromatic
#150924 #321654 #4F2285 #6C2EB6 #8B4FD2

Accessibility & contrast

On white

11.05
#4F2285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#4F2285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2285
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2285#FFFFFF#000000##FFFFFF
##4F22851.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C88
Deuteranopia (green-blind)
#003B83
Tritanopia (blue-blind)
#423B51
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4f2285;
/* rgb */ color: rgb(79, 34, 133);
/* oklch */ color: oklch(37.4% 0.155 299.5);
Tailwind
colors: {
  custom: {
    50: '#8661a9',
    500: '#4f2285',
    950: '#000000',
  },
}
SCSS
$custom: #4f2285;
$custom-light: #8661a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2285",
  "rgb": {
    "r": 79,
    "g": 34,
    "b": 133
  },
  "hsl": {
    "h": 267.273,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.37423,
    "c": 0.15525,
    "h": 299.5
  },
  "luminance": 0.045
}

Semantic roles & 50–950 ramp

primary
#4F2285
secondary
#86B64D
accent
#E2459B
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4F2285

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

Preview Lab → · Contrast checker → · Palette generator →

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