#4F2BB9#4F2BB9

#4F2BB9 is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.3% C 0.205 H 285.7°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#4F2BB9
RGBrgb(79, 43, 185)
HSLhsl(255, 62%, 45%)
HSVhsv(255, 77%, 73%)
CMYKcmyk(57.3%, 76.8%, 0%, 27.5%)
CIE-LABlab(31.56, 51.57, -68.66)
CIE-LCHlch(31.56, 85.87, 306.91°)
OKLaboklab(43.31% 0.0555 -0.1977)
OKLCHoklch(43.31% 0.205 285.7)
XYZxyz(12.8426, 6.8920, 46.5431)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2BB9 #95B92B
analogous
#2B4EB9 #4F2BB9 #962BB9
triadic
#4F2BB9 #B94F2B #2BB94F
tetradic
#4F2BB9 #B92B4E #95B92B #2BB996
square
#4F2BB9 #B92B4E #95B92B #2BB996
split-complementary
#4F2BB9 #B9962B #4EB92B
monochromatic
#251456 #3A1F87 #4F2BB9 #6F4CD5 #977EE1

Accessibility & contrast

On white

8.83
#4F2BB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#4F2BB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2BB9
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2BB9#FFFFFF#000000##FFFFFF
##4F2BB91.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBD
Deuteranopia (green-blind)
#0046B6
Tritanopia (blue-blind)
#195471
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4f2bb9;
/* rgb */ color: rgb(79, 43, 185);
/* oklch */ color: oklch(43.3% 0.205 285.7);
Tailwind
colors: {
  custom: {
    50: '#8c69cf',
    500: '#4f2bb9',
    950: '#000000',
  },
}
SCSS
$custom: #4f2bb9;
$custom-light: #8c69cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2bb9",
  "rgb": {
    "r": 79,
    "g": 43,
    "b": 185
  },
  "hsl": {
    "h": 255.211,
    "s": 62.281,
    "l": 44.706
  },
  "oklch": {
    "l": 0.43311,
    "c": 0.20537,
    "h": 285.7
  },
  "luminance": 0.06893
}

Semantic roles & 50–950 ramp

primary
#4F2BB9
secondary
#B4C976
accent
#E542BC
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4F2BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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