#4F2FBD#4F2FBD

#4F2FBD is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.2% C 0.206 H 284.5°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#4F2FBD
RGBrgb(79, 47, 189)
HSLhsl(254, 60%, 46%)
HSVhsv(254, 75%, 74%)
CMYKcmyk(58.2%, 75.1%, 0%, 25.9%)
CIE-LABlab(32.63, 50.76, -69.26)
CIE-LCHlch(32.63, 85.87, 306.24°)
OKLaboklab(44.18% 0.0516 -0.1995)
OKLCHoklch(44.18% 0.206 284.5)
XYZxyz(13.4235, 7.3686, 48.8492)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2FBD #9DBD2F
analogous
#2F56BD #4F2FBD #962FBD
triadic
#4F2FBD #BD4F2F #2FBD4F
tetradic
#4F2FBD #BD2F56 #9DBD2F #2FBD96
square
#4F2FBD #BD2F56 #9DBD2F #2FBD96
split-complementary
#4F2FBD #BD962F #56BD2F
monochromatic
#26175B #3B238C #4F2FBD #7155D5 #9A86E1

Accessibility & contrast

On white

8.49
#4F2FBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#4F2FBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2FBD
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2FBD#FFFFFF#000000##FFFFFF
##4F2FBD1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C1
Deuteranopia (green-blind)
#0048BA
Tritanopia (blue-blind)
#105774
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4f2fbd;
/* rgb */ color: rgb(79, 47, 189);
/* oklch */ color: oklch(44.2% 0.206 284.5);
Tailwind
colors: {
  custom: {
    50: '#8d6bd2',
    500: '#4f2fbd',
    950: '#000000',
  },
}
SCSS
$custom: #4f2fbd;
$custom-light: #8d6bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2fbd",
  "rgb": {
    "r": 79,
    "g": 47,
    "b": 189
  },
  "hsl": {
    "h": 253.521,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.44179,
    "c": 0.20609,
    "h": 284.5
  },
  "luminance": 0.07369
}

Semantic roles & 50–950 ramp

primary
#4F2FBD
secondary
#B9CA7E
accent
#E344C0
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4F2FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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