#4F2B83#4F2B83

#4F2B83 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.5% C 0.141 H 298.3°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#4F2B83
RGBrgb(79, 43, 131)
HSLhsl(265, 51%, 34%)
HSVhsv(265, 67%, 51%)
CMYKcmyk(39.7%, 67.2%, 0%, 48.6%)
CIE-LABlab(26.82, 36.24, -43.55)
CIE-LCHlch(26.82, 56.66, 309.76°)
OKLaboklab(38.49% 0.0668 -0.1241)
OKLCHoklch(38.49% 0.141 298.3)
XYZxyz(8.1840, 5.0286, 22.0078)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2B83 #5F832B
analogous
#2B3383 #4F2B83 #7B2B83
triadic
#4F2B83 #834F2B #2B834F
tetradic
#4F2B83 #832B33 #5F832B #2B837B
square
#4F2B83 #832B33 #5F832B #2B837B
split-complementary
#4F2B83 #837B2B #33832B
monochromatic
#170D27 #331C55 #4F2B83 #6B3AB1 #8A5ECA

Accessibility & contrast

On white

10.47
#4F2B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#4F2B83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2B83
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2B83#FFFFFF#000000##FFFFFF
##4F2B831.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F86
Deuteranopia (green-blind)
#003E81
Tritanopia (blue-blind)
#433F53
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4f2b83;
/* rgb */ color: rgb(79, 43, 131);
/* oklch */ color: oklch(38.5% 0.141 298.3);
Tailwind
colors: {
  custom: {
    50: '#8567a8',
    500: '#4f2b83',
    950: '#000000',
  },
}
SCSS
$custom: #4f2b83;
$custom-light: #8567a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2b83",
  "rgb": {
    "r": 79,
    "g": 43,
    "b": 131
  },
  "hsl": {
    "h": 264.545,
    "s": 50.575,
    "l": 34.118
  },
  "oklch": {
    "l": 0.38485,
    "c": 0.14091,
    "h": 298.3
  },
  "luminance": 0.05029
}

Semantic roles & 50–950 ramp

primary
#4F2B83
secondary
#8DB05A
accent
#DA4EA1
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4F2B83

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

Preview Lab → · Contrast checker → · Palette generator →

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