#4F2BA0#4F2BA0

#4F2BA0 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.0% C 0.176 H 290.5°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#4F2BA0
RGBrgb(79, 43, 160)
HSLhsl(258, 58%, 40%)
HSVhsv(258, 73%, 63%)
CMYKcmyk(50.6%, 73.1%, 0%, 37.3%)
CIE-LABlab(29.23, 44.44, -57.50)
CIE-LCHlch(29.23, 72.67, 307.70°)
OKLaboklab(40.96% 0.0618 -0.1651)
OKLCHoklch(40.96% 0.176 290.5)
XYZxyz(10.4317, 5.9277, 33.8454)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2BA0 #7CA02B
analogous
#2B41A0 #4F2BA0 #8A2BA0
triadic
#4F2BA0 #A04F2B #2BA04F
tetradic
#4F2BA0 #A02B41 #7CA02B #2BA08A
square
#4F2BA0 #A02B41 #7CA02B #2BA08A
split-complementary
#4F2BA0 #A08A2B #41A02B
monochromatic
#1F1140 #371E70 #4F2BA0 #693DCB #8E6ED8

Accessibility & contrast

On white

9.61
#4F2BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#4F2BA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2BA0
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2BA0#FFFFFF#000000##FFFFFF
##4F2BA01.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A3
Deuteranopia (green-blind)
#00429E
Tritanopia (blue-blind)
#334A63
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4f2ba0;
/* rgb */ color: rgb(79, 43, 160);
/* oklch */ color: oklch(41.0% 0.176 290.5);
Tailwind
colors: {
  custom: {
    50: '#8968bd',
    500: '#4f2ba0',
    950: '#000000',
  },
}
SCSS
$custom: #4f2ba0;
$custom-light: #8968bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2ba0",
  "rgb": {
    "r": 79,
    "g": 43,
    "b": 160
  },
  "hsl": {
    "h": 258.462,
    "s": 57.635,
    "l": 39.804
  },
  "oklch": {
    "l": 0.40961,
    "c": 0.17625,
    "h": 290.5
  },
  "luminance": 0.05928
}

Semantic roles & 50–950 ramp

primary
#4F2BA0
secondary
#A4BF68
accent
#E147B2
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4F2BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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