#4F2BCA#4F2BCA

#4F2BCA is a dark, highly saturated violet. Relative luminance 0.077; OKLCH L 45.0% C 0.225 H 283.0°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#4F2BCA
RGBrgb(79, 43, 202)
HSLhsl(254, 65%, 48%)
HSVhsv(254, 79%, 79%)
CMYKcmyk(60.9%, 78.7%, 0%, 20.8%)
CIE-LABlab(33.25, 56.38, -75.86)
CIE-LCHlch(33.25, 94.52, 306.62°)
OKLaboklab(45% 0.0506 -0.2188)
OKLCHoklch(45% 0.225 283)
XYZxyz(14.7457, 7.6533, 56.5659)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2BCA #A6CA2B
analogous
#2B56CA #4F2BCA #9E2BCA
triadic
#4F2BCA #CA4F2B #2BCA4F
tetradic
#4F2BCA #CA2B56 #A6CA2B #2BCA9E
square
#4F2BCA #CA2B56 #A6CA2B #2BCA9E
split-complementary
#4F2BCA #CA9E2B #56CA2B
monochromatic
#281665 #3B2098 #4F2BCA #7557DB #9E89E6

Accessibility & contrast

On white

8.30
#4F2BCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#4F2BCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2BCA
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2BCA#FFFFFF#000000##FFFFFF
##4F2BCA1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053CE
Deuteranopia (green-blind)
#0049C7
Tritanopia (blue-blind)
#005B7B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4f2bca;
/* rgb */ color: rgb(79, 43, 202);
/* oklch */ color: oklch(45.0% 0.225 283.0);
Tailwind
colors: {
  custom: {
    50: '#8f6adc',
    500: '#4f2bca',
    950: '#000000',
  },
}
SCSS
$custom: #4f2bca;
$custom-light: #8f6adc;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2bca",
  "rgb": {
    "r": 79,
    "g": 43,
    "b": 202
  },
  "hsl": {
    "h": 253.585,
    "s": 64.898,
    "l": 48.039
  },
  "oklch": {
    "l": 0.44996,
    "c": 0.22454,
    "h": 283
  },
  "luminance": 0.07654
}

Semantic roles & 50–950 ramp

primary
#4F2BCA
secondary
#BED081
accent
#E840C2
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4F2BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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