#4F2D85#4F2D85

#4F2D85 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 38.9% C 0.141 H 297.2°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#4F2D85
RGBrgb(79, 45, 133)
HSLhsl(263, 49%, 35%)
HSVhsv(263, 66%, 52%)
CMYKcmyk(40.6%, 66.2%, 0%, 47.8%)
CIE-LABlab(27.39, 35.66, -43.88)
CIE-LCHlch(27.39, 56.54, 309.10°)
OKLaboklab(38.95% 0.0642 -0.125)
OKLCHoklch(38.95% 0.141 297.2)
XYZxyz(8.3954, 5.2324, 22.7534)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2D85 #63852D
analogous
#2D3785 #4F2D85 #7B2D85
triadic
#4F2D85 #854F2D #2D854F
tetradic
#4F2D85 #852D37 #63852D #2D857B
square
#4F2D85 #852D37 #63852D #2D857B
split-complementary
#4F2D85 #857B2D #37852D
monochromatic
#190E2A #341E57 #4F2D85 #6A3CB3 #8A62CA

Accessibility & contrast

On white

10.26
#4F2D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#4F2D85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2D85
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2D85#FFFFFF#000000##FFFFFF
##4F2D851.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004188
Deuteranopia (green-blind)
#004083
Tritanopia (blue-blind)
#424155
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4f2d85;
/* rgb */ color: rgb(79, 45, 133);
/* oklch */ color: oklch(38.9% 0.141 297.2);
Tailwind
colors: {
  custom: {
    50: '#8568a9',
    500: '#4f2d85',
    950: '#000000',
  },
}
SCSS
$custom: #4f2d85;
$custom-light: #8568a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2d85",
  "rgb": {
    "r": 79,
    "g": 45,
    "b": 133
  },
  "hsl": {
    "h": 263.182,
    "s": 49.438,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38945,
    "c": 0.14057,
    "h": 297.2
  },
  "luminance": 0.05232
}

Semantic roles & 50–950 ramp

primary
#4F2D85
secondary
#90B05D
accent
#D94FA4
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4F2D85

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

Preview Lab → · Contrast checker → · Palette generator →

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