#4F2CA0#4F2CA0

#4F2CA0 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.1% C 0.175 H 290.3°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#4F2CA0
RGBrgb(79, 44, 160)
HSLhsl(258, 57%, 40%)
HSVhsv(258, 73%, 63%)
CMYKcmyk(50.6%, 72.5%, 0%, 37.3%)
CIE-LABlab(29.42, 43.92, -57.19)
CIE-LCHlch(29.42, 72.11, 307.52°)
OKLaboklab(41.09% 0.0609 -0.1642)
OKLCHoklch(41.09% 0.175 290.3)
XYZxyz(10.4685, 6.0013, 33.8577)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2CA0 #7DA02C
analogous
#2C43A0 #4F2CA0 #892CA0
triadic
#4F2CA0 #A04F2C #2CA04F
tetradic
#4F2CA0 #A02C43 #7DA02C #2CA089
square
#4F2CA0 #A02C43 #7DA02C #2CA089
split-complementary
#4F2CA0 #A0892C #43A02C
monochromatic
#201240 #371F70 #4F2CA0 #693FCA #8E6FD7

Accessibility & contrast

On white

9.54
#4F2CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#4F2CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2CA0
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2CA0#FFFFFF#000000##FFFFFF
##4F2CA01.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A3
Deuteranopia (green-blind)
#00439E
Tritanopia (blue-blind)
#334A63
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4f2ca0;
/* rgb */ color: rgb(79, 44, 160);
/* oklch */ color: oklch(41.1% 0.175 290.3);
Tailwind
colors: {
  custom: {
    50: '#8868bd',
    500: '#4f2ca0',
    950: '#000000',
  },
}
SCSS
$custom: #4f2ca0;
$custom-light: #8868bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2ca0",
  "rgb": {
    "r": 79,
    "g": 44,
    "b": 160
  },
  "hsl": {
    "h": 258.103,
    "s": 56.863,
    "l": 40
  },
  "oklch": {
    "l": 0.41093,
    "c": 0.17509,
    "h": 290.3
  },
  "luminance": 0.06002
}

Semantic roles & 50–950 ramp

primary
#4F2CA0
secondary
#A5BF69
accent
#E048B2
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4F2CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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