#4F2BE2#4F2BE2

#4F2BE2 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.5% C 0.251 H 279.9°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#4F2BE2
RGBrgb(79, 43, 226)
HSLhsl(252, 76%, 53%)
HSVhsv(252, 81%, 89%)
CMYKcmyk(65%, 81%, 0%, 11.4%)
CIE-LABlab(35.75, 63.06, -85.59)
CIE-LCHlch(35.75, 106.31, 306.38°)
OKLaboklab(47.47% 0.0433 -0.2471)
OKLCHoklch(47.47% 0.251 279.9)
XYZxyz(17.8114, 8.8796, 72.7121)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2BE2 #BEE22B
analogous
#2B63E2 #4F2BE2 #AA2BE2
triadic
#4F2BE2 #E24F2B #2BE24F
tetradic
#4F2BE2 #E22B63 #BEE22B #2BE2AA
square
#4F2BE2 #E22B63 #BEE22B #2BE2AA
split-complementary
#4F2BE2 #E2AA2B #63E22B
monochromatic
#281281 #3819B7 #4F2BE2 #7C61E9 #A897F1

Accessibility & contrast

On white

7.56
#4F2BE2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#4F2BE2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2BE2
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2BE2#FFFFFF#000000##FFFFFF
##4F2BE21.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AE7
Deuteranopia (green-blind)
#004DDF
Tritanopia (blue-blind)
#006489
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4f2be2;
/* rgb */ color: rgb(79, 43, 226);
/* oklch */ color: oklch(47.5% 0.251 279.9);
Tailwind
colors: {
  custom: {
    50: '#946bed',
    500: '#4f2be2',
    950: '#000000',
  },
}
SCSS
$custom: #4f2be2;
$custom-light: #946bed;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2be2",
  "rgb": {
    "r": 79,
    "g": 43,
    "b": 226
  },
  "hsl": {
    "h": 251.803,
    "s": 75.934,
    "l": 52.745
  },
  "oklch": {
    "l": 0.47465,
    "c": 0.25086,
    "h": 279.9
  },
  "luminance": 0.08881
}

Semantic roles & 50–950 ramp

primary
#4F2BE2
secondary
#CCDC8D
accent
#F335CD
background
#FAF6FE
surface
#F3ECFD
border
#CDC7D5
text
#0F0717
muted
#7F7A85

Preview Lab

Preview with #4F2BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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