#4F2BA9#4F2BA9

#4F2BA9 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.8% C 0.187 H 288.6°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#4F2BA9
RGBrgb(79, 43, 169)
HSLhsl(257, 59%, 42%)
HSVhsv(257, 75%, 66%)
CMYKcmyk(53.3%, 74.6%, 0%, 33.7%)
CIE-LABlab(30.04, 47.01, -61.60)
CIE-LCHlch(30.04, 77.49, 307.35°)
OKLaboklab(41.79% 0.0597 -0.1771)
OKLCHoklch(41.79% 0.187 288.6)
XYZxyz(11.2477, 6.2541, 38.1429)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2BA9 #85A92B
analogous
#2B46A9 #4F2BA9 #8E2BA9
triadic
#4F2BA9 #A94F2B #2BA94F
tetradic
#4F2BA9 #A92B46 #85A92B #2BA98E
square
#4F2BA9 #A92B46 #85A92B #2BA98E
split-complementary
#4F2BA9 #A98E2B #46A92B
monochromatic
#211247 #381F78 #4F2BA9 #6A42CF #9173DB

Accessibility & contrast

On white

9.33
#4F2BA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#4F2BA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2BA9
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2BA9#FFFFFF#000000##FFFFFF
##4F2BA91.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AD
Deuteranopia (green-blind)
#0043A7
Tritanopia (blue-blind)
#2C4D68
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4f2ba9;
/* rgb */ color: rgb(79, 43, 169);
/* oklch */ color: oklch(41.8% 0.187 288.6);
Tailwind
colors: {
  custom: {
    50: '#8a68c4',
    500: '#4f2ba9',
    950: '#000000',
  },
}
SCSS
$custom: #4f2ba9;
$custom-light: #8a68c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2ba9",
  "rgb": {
    "r": 79,
    "g": 43,
    "b": 169
  },
  "hsl": {
    "h": 257.143,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.41787,
    "c": 0.18686,
    "h": 288.6
  },
  "luminance": 0.06255
}

Semantic roles & 50–950 ramp

primary
#4F2BA9
secondary
#AAC36D
accent
#E345B6
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4F2BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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