#4F2BBD#4F2BBD

#4F2BBD is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 43.7% C 0.210 H 285.0°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#4F2BBD
RGBrgb(79, 43, 189)
HSLhsl(255, 63%, 45%)
HSVhsv(255, 77%, 74%)
CMYKcmyk(58.2%, 77.2%, 0%, 25.9%)
CIE-LABlab(31.95, 52.71, -70.38)
CIE-LCHlch(31.95, 87.93, 306.83°)
OKLaboklab(43.7% 0.0543 -0.2028)
OKLCHoklch(43.7% 0.21 285)
XYZxyz(13.2708, 7.0633, 48.7983)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2BBD #99BD2B
analogous
#2B50BD #4F2BBD #982BBD
triadic
#4F2BBD #BD4F2B #2BBD4F
tetradic
#4F2BBD #BD2B50 #99BD2B #2BBD98
square
#4F2BBD #BD2B50 #99BD2B #2BBD98
split-complementary
#4F2BBD #BD982B #50BD2B
monochromatic
#251459 #3A208B #4F2BBD #704ED7 #9880E2

Accessibility & contrast

On white

8.70
#4F2BBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#4F2BBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2BBD
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2BBD#FFFFFF#000000##FFFFFF
##4F2BBD1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC1
Deuteranopia (green-blind)
#0047BA
Tritanopia (blue-blind)
#105573
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4f2bbd;
/* rgb */ color: rgb(79, 43, 189);
/* oklch */ color: oklch(43.7% 0.210 285.0);
Tailwind
colors: {
  custom: {
    50: '#8d69d2',
    500: '#4f2bbd',
    950: '#000000',
  },
}
SCSS
$custom: #4f2bbd;
$custom-light: #8d69d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2bbd",
  "rgb": {
    "r": 79,
    "g": 43,
    "b": 189
  },
  "hsl": {
    "h": 254.795,
    "s": 62.931,
    "l": 45.49
  },
  "oklch": {
    "l": 0.43702,
    "c": 0.20992,
    "h": 285
  },
  "luminance": 0.07064
}

Semantic roles & 50–950 ramp

primary
#4F2BBD
secondary
#B7CB79
accent
#E642BE
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4F2BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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