#4F2BA3#4F2BA3

#4F2BA3 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.2% C 0.180 H 289.9°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#4F2BA3
RGBrgb(79, 43, 163)
HSLhsl(258, 58%, 40%)
HSVhsv(258, 74%, 64%)
CMYKcmyk(51.5%, 73.6%, 0%, 36.1%)
CIE-LABlab(29.50, 45.30, -58.88)
CIE-LCHlch(29.50, 74.28, 307.57°)
OKLaboklab(41.23% 0.0611 -0.1691)
OKLCHoklch(41.23% 0.18 289.9)
XYZxyz(10.6973, 6.0339, 35.2442)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2BA3 #7FA32B
analogous
#2B43A3 #4F2BA3 #8B2BA3
triadic
#4F2BA3 #A34F2B #2BA34F
tetradic
#4F2BA3 #A32B43 #7FA32B #2BA38B
square
#4F2BA3 #A32B43 #7FA32B #2BA38B
split-complementary
#4F2BA3 #A38B2B #43A32B
monochromatic
#201142 #381E73 #4F2BA3 #693FCC #8F6FD9

Accessibility & contrast

On white

9.52
#4F2BA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#4F2BA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2BA3
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2BA3#FFFFFF#000000##FFFFFF
##4F2BA31.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A6
Deuteranopia (green-blind)
#0043A1
Tritanopia (blue-blind)
#314B64
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4f2ba3;
/* rgb */ color: rgb(79, 43, 163);
/* oklch */ color: oklch(41.2% 0.180 289.9);
Tailwind
colors: {
  custom: {
    50: '#8968bf',
    500: '#4f2ba3',
    950: '#000000',
  },
}
SCSS
$custom: #4f2ba3;
$custom-light: #8968bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2ba3",
  "rgb": {
    "r": 79,
    "g": 43,
    "b": 163
  },
  "hsl": {
    "h": 258,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.41234,
    "c": 0.1798,
    "h": 289.9
  },
  "luminance": 0.06034
}

Semantic roles & 50–950 ramp

primary
#4F2BA3
secondary
#A6C06A
accent
#E146B3
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4F2BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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