#4F2DB3#4F2DB3

#4F2DB3 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.0% C 0.196 H 286.4°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#4F2DB3
RGBrgb(79, 45, 179)
HSLhsl(255, 60%, 44%)
HSVhsv(255, 75%, 70%)
CMYKcmyk(55.9%, 74.9%, 0%, 29.8%)
CIE-LABlab(31.33, 48.87, -65.47)
CIE-LCHlch(31.33, 81.70, 306.74°)
OKLaboklab(42.98% 0.0556 -0.1884)
OKLCHoklch(42.98% 0.196 286.4)
XYZxyz(12.2971, 6.7930, 43.3023)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2DB3 #91B32D
analogous
#2D4EB3 #4F2DB3 #922DB3
triadic
#4F2DB3 #B34F2D #2DB34F
tetradic
#4F2DB3 #B32D4E #91B32D #2DB392
square
#4F2DB3 #B32D4E #91B32D #2DB392
split-complementary
#4F2DB3 #B3922D #4EB32D
monochromatic
#241451 #392182 #4F2DB3 #6D4BD2 #957CDE

Accessibility & contrast

On white

8.90
#4F2DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#4F2DB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2DB3
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2DB3#FFFFFF#000000##FFFFFF
##4F2DB31.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB7
Deuteranopia (green-blind)
#0046B1
Tritanopia (blue-blind)
#21526E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4f2db3;
/* rgb */ color: rgb(79, 45, 179);
/* oklch */ color: oklch(43.0% 0.196 286.4);
Tailwind
colors: {
  custom: {
    50: '#8b6acb',
    500: '#4f2db3',
    950: '#000000',
  },
}
SCSS
$custom: #4f2db3;
$custom-light: #8b6acb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2db3",
  "rgb": {
    "r": 79,
    "g": 45,
    "b": 179
  },
  "hsl": {
    "h": 255.224,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.42977,
    "c": 0.19646,
    "h": 286.4
  },
  "luminance": 0.06794
}

Semantic roles & 50–950 ramp

primary
#4F2DB3
secondary
#B2C775
accent
#E345BB
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4F2DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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