#4F2CBD#4F2CBD

#4F2CBD is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 43.8% C 0.209 H 284.9°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#4F2CBD
RGBrgb(79, 44, 189)
HSLhsl(254, 62%, 46%)
HSVhsv(254, 77%, 74%)
CMYKcmyk(58.2%, 76.7%, 0%, 25.9%)
CIE-LABlab(32.12, 52.23, -70.11)
CIE-LCHlch(32.12, 87.43, 306.69°)
OKLaboklab(43.82% 0.0537 -0.202)
OKLCHoklch(43.82% 0.209 284.9)
XYZxyz(13.3076, 7.1369, 48.8106)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2CBD #9ABD2C
analogous
#2C51BD #4F2CBD #972CBD
triadic
#4F2CBD #BD4F2C #2CBD4F
tetradic
#4F2CBD #BD2C51 #9ABD2C #2CBD97
square
#4F2CBD #BD2C51 #9ABD2C #2CBD97
split-complementary
#4F2CBD #BD972C #51BD2C
monochromatic
#25155A #3A208B #4F2CBD #7050D6 #9982E2

Accessibility & contrast

On white

8.65
#4F2CBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#4F2CBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2CBD
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2CBD#FFFFFF#000000##FFFFFF
##4F2CBD1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C1
Deuteranopia (green-blind)
#0047BA
Tritanopia (blue-blind)
#105673
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4f2cbd;
/* rgb */ color: rgb(79, 44, 189);
/* oklch */ color: oklch(43.8% 0.209 284.9);
Tailwind
colors: {
  custom: {
    50: '#8d6ad2',
    500: '#4f2cbd',
    950: '#000000',
  },
}
SCSS
$custom: #4f2cbd;
$custom-light: #8d6ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2cbd",
  "rgb": {
    "r": 79,
    "g": 44,
    "b": 189
  },
  "hsl": {
    "h": 254.483,
    "s": 62.232,
    "l": 45.686
  },
  "oklch": {
    "l": 0.43818,
    "c": 0.20899,
    "h": 284.9
  },
  "luminance": 0.07138
}

Semantic roles & 50–950 ramp

primary
#4F2CBD
secondary
#B7CB7A
accent
#E542BE
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4F2CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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