#4F2DB0#4F2DB0

#4F2DB0 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.7% C 0.193 H 287.0°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#4F2DB0
RGBrgb(79, 45, 176)
HSLhsl(256, 59%, 43%)
HSVhsv(256, 74%, 69%)
CMYKcmyk(55.1%, 74.4%, 0%, 31%)
CIE-LABlab(31.05, 48.01, -64.14)
CIE-LCHlch(31.05, 80.12, 306.81°)
OKLaboklab(42.69% 0.0563 -0.1845)
OKLCHoklch(42.69% 0.193 287)
XYZxyz(11.9970, 6.6730, 41.7217)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2DB0 #8EB02D
analogous
#2D4CB0 #4F2DB0 #902DB0
triadic
#4F2DB0 #B04F2D #2DB04F
tetradic
#4F2DB0 #B02D4C #8EB02D #2DB090
square
#4F2DB0 #B02D4C #8EB02D #2DB090
split-complementary
#4F2DB0 #B0902D #4CB02D
monochromatic
#23144F #39217F #4F2DB0 #6D4AD1 #947ADD

Accessibility & contrast

On white

8.99
#4F2DB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F2DB0
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2DB0#FFFFFF#000000##FFFFFF
##4F2DB01.008.992.338.99
#FFFFFF8.991.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB4
Deuteranopia (green-blind)
#0045AE
Tritanopia (blue-blind)
#25516C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4f2db0;
/* rgb */ color: rgb(79, 45, 176);
/* oklch */ color: oklch(42.7% 0.193 287.0);
Tailwind
colors: {
  custom: {
    50: '#8b6ac9',
    500: '#4f2db0',
    950: '#000000',
  },
}
SCSS
$custom: #4f2db0;
$custom-light: #8b6ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2db0",
  "rgb": {
    "r": 79,
    "g": 45,
    "b": 176
  },
  "hsl": {
    "h": 255.573,
    "s": 59.276,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42694,
    "c": 0.19295,
    "h": 287
  },
  "luminance": 0.06674
}

Semantic roles & 50–950 ramp

primary
#4F2DB0
secondary
#B0C573
accent
#E245BA
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4F2DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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