#4F2CBF#4F2CBF

#4F2CBF is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 44.0% C 0.211 H 284.6°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#4F2CBF
RGBrgb(79, 44, 191)
HSLhsl(254, 63%, 46%)
HSVhsv(254, 77%, 75%)
CMYKcmyk(58.6%, 77%, 0%, 25.1%)
CIE-LABlab(32.31, 52.80, -70.96)
CIE-LCHlch(32.31, 88.45, 306.65°)
OKLaboklab(44.01% 0.0531 -0.2045)
OKLCHoklch(44.01% 0.211 284.6)
XYZxyz(13.5262, 7.2244, 49.9618)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2CBF #9CBF2C
analogous
#2C52BF #4F2CBF #982CBF
triadic
#4F2CBF #BF4F2C #2CBF4F
tetradic
#4F2CBF #BF2C52 #9CBF2C #2CBF98
square
#4F2CBF #BF2C52 #9CBF2C #2CBF98
split-complementary
#4F2CBF #BF982C #52BF2C
monochromatic
#26155C #3A218D #4F2CBF #7151D7 #9A83E2

Accessibility & contrast

On white

8.59
#4F2CBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#4F2CBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2CBF
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2CBF#FFFFFF#000000##FFFFFF
##4F2CBF1.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C3
Deuteranopia (green-blind)
#0047BC
Tritanopia (blue-blind)
#0A5774
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4f2cbf;
/* rgb */ color: rgb(79, 44, 191);
/* oklch */ color: oklch(44.0% 0.211 284.6);
Tailwind
colors: {
  custom: {
    50: '#8d6ad4',
    500: '#4f2cbf',
    950: '#000000',
  },
}
SCSS
$custom: #4f2cbf;
$custom-light: #8d6ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2cbf",
  "rgb": {
    "r": 79,
    "g": 44,
    "b": 191
  },
  "hsl": {
    "h": 254.286,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.44014,
    "c": 0.21126,
    "h": 284.6
  },
  "luminance": 0.07225
}

Semantic roles & 50–950 ramp

primary
#4F2CBF
secondary
#B8CC7B
accent
#E642BF
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #4F2CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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