#4F2AB0#4F2AB0

#4F2AB0 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.3% C 0.196 H 287.4°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#4F2AB0
RGBrgb(79, 42, 176)
HSLhsl(257, 61%, 43%)
HSVhsv(257, 76%, 69%)
CMYKcmyk(55.1%, 76.1%, 0%, 31%)
CIE-LABlab(30.53, 49.50, -65.01)
CIE-LCHlch(30.53, 81.71, 307.29°)
OKLaboklab(42.33% 0.0586 -0.187)
OKLCHoklch(42.33% 0.196 287.4)
XYZxyz(11.8866, 6.4522, 41.6849)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2AB0 #8BB02A
analogous
#2A48B0 #4F2AB0 #922AB0
triadic
#4F2AB0 #B04F2A #2AB04F
tetradic
#4F2AB0 #B02A48 #8BB02A #2AB092
square
#4F2AB0 #B02A48 #8BB02A #2AB092
split-complementary
#4F2AB0 #B0922A #48B02A
monochromatic
#23124D #391E7F #4F2AB0 #6C45D3 #9376DE

Accessibility & contrast

On white

9.17
#4F2AB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#4F2AB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2AB0
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2AB0#FFFFFF#000000##FFFFFF
##4F2AB01.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB4
Deuteranopia (green-blind)
#0044AE
Tritanopia (blue-blind)
#25506B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4f2ab0;
/* rgb */ color: rgb(79, 42, 176);
/* oklch */ color: oklch(42.3% 0.196 287.4);
Tailwind
colors: {
  custom: {
    50: '#8b68c9',
    500: '#4f2ab0',
    950: '#000000',
  },
}
SCSS
$custom: #4f2ab0;
$custom-light: #8b68c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2ab0",
  "rgb": {
    "r": 79,
    "g": 42,
    "b": 176
  },
  "hsl": {
    "h": 256.567,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.42325,
    "c": 0.19602,
    "h": 287.4
  },
  "luminance": 0.06453
}

Semantic roles & 50–950 ramp

primary
#4F2AB0
secondary
#AEC670
accent
#E543B8
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4F2AB0

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

Preview Lab → · Contrast checker → · Palette generator →

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