#4F2FBB#4F2FBB

#4F2FBB is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.0% C 0.204 H 284.8°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#4F2FBB
RGBrgb(79, 47, 187)
HSLhsl(254, 60%, 46%)
HSVhsv(254, 75%, 73%)
CMYKcmyk(57.8%, 74.9%, 0%, 26.7%)
CIE-LABlab(32.44, 50.18, -68.39)
CIE-LCHlch(32.44, 84.83, 306.27°)
OKLaboklab(43.99% 0.0521 -0.197)
OKLCHoklch(43.99% 0.204 284.8)
XYZxyz(13.2079, 7.2823, 47.7137)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2FBB #9BBB2F
analogous
#2F55BB #4F2FBB #952FBB
triadic
#4F2FBB #BB4F2F #2FBB4F
tetradic
#4F2FBB #BB2F55 #9BBB2F #2FBB95
square
#4F2FBB #BB2F55 #9BBB2F #2FBB95
split-complementary
#4F2FBB #BB952F #55BB2F
monochromatic
#261659 #3A238A #4F2FBB #7153D4 #9984E0

Accessibility & contrast

On white

8.55
#4F2FBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#4F2FBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2FBB
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2FBB#FFFFFF#000000##FFFFFF
##4F2FBB1.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BF
Deuteranopia (green-blind)
#0048B8
Tritanopia (blue-blind)
#145673
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4f2fbb;
/* rgb */ color: rgb(79, 47, 187);
/* oklch */ color: oklch(44.0% 0.204 284.8);
Tailwind
colors: {
  custom: {
    50: '#8c6bd1',
    500: '#4f2fbb',
    950: '#000000',
  },
}
SCSS
$custom: #4f2fbb;
$custom-light: #8c6bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2fbb",
  "rgb": {
    "r": 79,
    "g": 47,
    "b": 187
  },
  "hsl": {
    "h": 253.714,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.43987,
    "c": 0.20376,
    "h": 284.8
  },
  "luminance": 0.07283
}

Semantic roles & 50–950 ramp

primary
#4F2FBB
secondary
#B8C97C
accent
#E345BF
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4F2FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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