#4F2D83#4F2D83

#4F2D83 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 38.8% C 0.138 H 297.8°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#4F2D83
RGBrgb(79, 45, 131)
HSLhsl(264, 49%, 35%)
HSVhsv(264, 66%, 51%)
CMYKcmyk(39.7%, 65.6%, 0%, 48.6%)
CIE-LABlab(27.23, 35.10, -42.87)
CIE-LCHlch(27.23, 55.41, 309.31°)
OKLaboklab(38.79% 0.0644 -0.1221)
OKLCHoklch(38.79% 0.138 297.8)
XYZxyz(8.2585, 5.1776, 22.0326)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2D83 #61832D
analogous
#2D3683 #4F2D83 #7A2D83
triadic
#4F2D83 #834F2D #2D834F
tetradic
#4F2D83 #832D36 #61832D #2D837A
square
#4F2D83 #832D36 #61832D #2D837A
split-complementary
#4F2D83 #837A2D #36832D
monochromatic
#180E28 #341D55 #4F2D83 #6A3DB1 #8A62C9

Accessibility & contrast

On white

10.32
#4F2D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#4F2D83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2D83
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2D83#FFFFFF#000000##FFFFFF
##4F2D831.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004186
Deuteranopia (green-blind)
#003F81
Tritanopia (blue-blind)
#434053
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4f2d83;
/* rgb */ color: rgb(79, 45, 131);
/* oklch */ color: oklch(38.8% 0.138 297.8);
Tailwind
colors: {
  custom: {
    50: '#8568a8',
    500: '#4f2d83',
    950: '#000000',
  },
}
SCSS
$custom: #4f2d83;
$custom-light: #8568a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2d83",
  "rgb": {
    "r": 79,
    "g": 45,
    "b": 131
  },
  "hsl": {
    "h": 263.721,
    "s": 48.864,
    "l": 34.51
  },
  "oklch": {
    "l": 0.38787,
    "c": 0.13803,
    "h": 297.8
  },
  "luminance": 0.05178
}

Semantic roles & 50–950 ramp

primary
#4F2D83
secondary
#8FAF5C
accent
#D84FA2
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4F2D83

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

Preview Lab → · Contrast checker → · Palette generator →

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