#4F2BC3#4F2BC3

#4F2BC3 is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.3% C 0.217 H 284.1°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#4F2BC3
RGBrgb(79, 43, 195)
HSLhsl(254, 64%, 47%)
HSVhsv(254, 78%, 76%)
CMYKcmyk(59.5%, 77.9%, 0%, 23.5%)
CIE-LABlab(32.54, 54.41, -72.93)
CIE-LCHlch(32.54, 90.99, 306.72°)
OKLaboklab(44.3% 0.0526 -0.2102)
OKLCHoklch(44.3% 0.217 284.1)
XYZxyz(13.9356, 7.3292, 52.2995)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2BC3 #9FC32B
analogous
#2B53C3 #4F2BC3 #9B2BC3
triadic
#4F2BC3 #C34F2B #2BC34F
tetradic
#4F2BC3 #C32B53 #9FC32B #2BC39B
square
#4F2BC3 #C32B53 #9FC32B #2BC39B
split-complementary
#4F2BC3 #C39B2B #53C32B
monochromatic
#26155F #3B2091 #4F2BC3 #7252D9 #9B84E4

Accessibility & contrast

On white

8.52
#4F2BC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F2BC3
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2BC3#FFFFFF#000000##FFFFFF
##4F2BC31.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C7
Deuteranopia (green-blind)
#0048C0
Tritanopia (blue-blind)
#005877
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4f2bc3;
/* rgb */ color: rgb(79, 43, 195);
/* oklch */ color: oklch(44.3% 0.217 284.1);
Tailwind
colors: {
  custom: {
    50: '#8e6ad6',
    500: '#4f2bc3',
    950: '#000000',
  },
}
SCSS
$custom: #4f2bc3;
$custom-light: #8e6ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2bc3",
  "rgb": {
    "r": 79,
    "g": 43,
    "b": 195
  },
  "hsl": {
    "h": 254.211,
    "s": 63.866,
    "l": 46.667
  },
  "oklch": {
    "l": 0.44295,
    "c": 0.2167,
    "h": 284.1
  },
  "luminance": 0.0733
}

Semantic roles & 50–950 ramp

primary
#4F2BC3
secondary
#BACD7D
accent
#E741C0
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4F2BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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