#4F2DB2#4F2DB2

#4F2DB2 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.9% C 0.195 H 286.6°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#4F2DB2
RGBrgb(79, 45, 178)
HSLhsl(255, 60%, 44%)
HSVhsv(255, 75%, 70%)
CMYKcmyk(55.6%, 74.7%, 0%, 30.2%)
CIE-LABlab(31.24, 48.58, -65.03)
CIE-LCHlch(31.24, 81.18, 306.76°)
OKLaboklab(42.88% 0.0558 -0.1871)
OKLCHoklch(42.88% 0.195 286.6)
XYZxyz(12.1963, 6.7527, 42.7716)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2DB2 #90B22D
analogous
#2D4EB2 #4F2DB2 #912DB2
triadic
#4F2DB2 #B24F2D #2DB24F
tetradic
#4F2DB2 #B22D4E #90B22D #2DB291
square
#4F2DB2 #B22D4E #90B22D #2DB291
split-complementary
#4F2DB2 #B2912D #4EB22D
monochromatic
#241450 #392181 #4F2DB2 #6D4BD1 #957CDE

Accessibility & contrast

On white

8.93
#4F2DB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#4F2DB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2DB2
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2DB2#FFFFFF#000000##FFFFFF
##4F2DB21.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB6
Deuteranopia (green-blind)
#0046B0
Tritanopia (blue-blind)
#23526D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4f2db2;
/* rgb */ color: rgb(79, 45, 178);
/* oklch */ color: oklch(42.9% 0.195 286.6);
Tailwind
colors: {
  custom: {
    50: '#8b6aca',
    500: '#4f2db2',
    950: '#000000',
  },
}
SCSS
$custom: #4f2db2;
$custom-light: #8b6aca;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2db2",
  "rgb": {
    "r": 79,
    "g": 45,
    "b": 178
  },
  "hsl": {
    "h": 255.338,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42882,
    "c": 0.19529,
    "h": 286.6
  },
  "luminance": 0.06753
}

Semantic roles & 50–950 ramp

primary
#4F2DB2
secondary
#B1C675
accent
#E345BA
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4F2DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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