#4F2F83#4F2F83

#4F2F83 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.1% C 0.135 H 297.3°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#4F2F83
RGBrgb(79, 47, 131)
HSLhsl(263, 47%, 35%)
HSVhsv(263, 64%, 51%)
CMYKcmyk(39.7%, 64.1%, 0%, 48.6%)
CIE-LABlab(27.67, 33.94, -42.18)
CIE-LCHlch(27.67, 54.14, 308.82°)
OKLaboklab(39.1% 0.0619 -0.12)
OKLCHoklch(39.1% 0.135 297.3)
XYZxyz(8.3367, 5.3339, 22.0586)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2F83 #63832F
analogous
#2F3983 #4F2F83 #792F83
triadic
#4F2F83 #834F2F #2F834F
tetradic
#4F2F83 #832F39 #63832F #2F8379
square
#4F2F83 #832F39 #63832F #2F8379
split-complementary
#4F2F83 #83792F #39832F
monochromatic
#190F29 #341F56 #4F2F83 #6A3FB0 #8A65C8

Accessibility & contrast

On white

10.16
#4F2F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#4F2F83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2F83
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2F83#FFFFFF#000000##FFFFFF
##4F2F831.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004286
Deuteranopia (green-blind)
#054081
Tritanopia (blue-blind)
#434254
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4f2f83;
/* rgb */ color: rgb(79, 47, 131);
/* oklch */ color: oklch(39.1% 0.135 297.3);
Tailwind
colors: {
  custom: {
    50: '#8469a8',
    500: '#4f2f83',
    950: '#000000',
  },
}
SCSS
$custom: #4f2f83;
$custom-light: #8469a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2f83",
  "rgb": {
    "r": 79,
    "g": 47,
    "b": 131
  },
  "hsl": {
    "h": 262.857,
    "s": 47.191,
    "l": 34.902
  },
  "oklch": {
    "l": 0.391,
    "c": 0.13508,
    "h": 297.3
  },
  "luminance": 0.05334
}

Semantic roles & 50–950 ramp

primary
#4F2F83
secondary
#90AF5F
accent
#D751A4
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4F2F83

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

Preview Lab → · Contrast checker → · Palette generator →

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