#4F2BB3#4F2BB3

#4F2BB3 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.7% C 0.198 H 286.7°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#4F2BB3
RGBrgb(79, 43, 179)
HSLhsl(256, 61%, 44%)
HSVhsv(256, 76%, 70%)
CMYKcmyk(55.9%, 76%, 0%, 29.8%)
CIE-LABlab(30.98, 49.86, -66.05)
CIE-LCHlch(30.98, 82.76, 307.05°)
OKLaboklab(42.73% 0.0571 -0.1901)
OKLCHoklch(42.73% 0.198 286.7)
XYZxyz(12.2226, 6.6440, 43.2775)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2BB3 #8FB32B
analogous
#2B4BB3 #4F2BB3 #932BB3
triadic
#4F2BB3 #B34F2B #2BB34F
tetradic
#4F2BB3 #B32B4B #8FB32B #2BB393
square
#4F2BB3 #B32B4B #8FB32B #2BB393
split-complementary
#4F2BB3 #B3932B #4BB32B
monochromatic
#231350 #391F82 #4F2BB3 #6D48D3 #9479DF

Accessibility & contrast

On white

9.02
#4F2BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#4F2BB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2BB3
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2BB3#FFFFFF#000000##FFFFFF
##4F2BB31.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB7
Deuteranopia (green-blind)
#0045B0
Tritanopia (blue-blind)
#22516D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4f2bb3;
/* rgb */ color: rgb(79, 43, 179);
/* oklch */ color: oklch(42.7% 0.198 286.7);
Tailwind
colors: {
  custom: {
    50: '#8b69cb',
    500: '#4f2bb3',
    950: '#000000',
  },
}
SCSS
$custom: #4f2bb3;
$custom-light: #8b69cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2bb3",
  "rgb": {
    "r": 79,
    "g": 43,
    "b": 179
  },
  "hsl": {
    "h": 255.882,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.42732,
    "c": 0.19848,
    "h": 286.7
  },
  "luminance": 0.06645
}

Semantic roles & 50–950 ramp

primary
#4F2BB3
secondary
#B1C773
accent
#E443BA
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4F2BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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