#4F2FC1#4F2FC1

#4F2FC1 is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.6% C 0.211 H 283.9°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#4F2FC1
RGBrgb(79, 47, 193)
HSLhsl(253, 61%, 47%)
HSVhsv(253, 76%, 76%)
CMYKcmyk(59.1%, 75.6%, 0%, 24.3%)
CIE-LABlab(33.02, 51.92, -70.98)
CIE-LCHlch(33.02, 87.94, 306.18°)
OKLaboklab(44.57% 0.0506 -0.2046)
OKLCHoklch(44.57% 0.211 283.9)
XYZxyz(13.8636, 7.5447, 51.1675)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2FC1 #A1C12F
analogous
#2F58C1 #4F2FC1 #982FC1
triadic
#4F2FC1 #C14F2F #2FC14F
tetradic
#4F2FC1 #C12F58 #A1C12F #2FC198
square
#4F2FC1 #C12F58 #A1C12F #2FC198
split-complementary
#4F2FC1 #C1982F #58C12F
monochromatic
#27175F #3B2390 #4F2FC1 #7357D6 #9C88E2

Accessibility & contrast

On white

8.37
#4F2FC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4F2FC1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2FC1
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2FC1#FFFFFF#000000##FFFFFF
##4F2FC11.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C5
Deuteranopia (green-blind)
#0049BE
Tritanopia (blue-blind)
#025976
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4f2fc1;
/* rgb */ color: rgb(79, 47, 193);
/* oklch */ color: oklch(44.6% 0.211 283.9);
Tailwind
colors: {
  custom: {
    50: '#8d6cd5',
    500: '#4f2fc1',
    950: '#000000',
  },
}
SCSS
$custom: #4f2fc1;
$custom-light: #8d6cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2fc1",
  "rgb": {
    "r": 79,
    "g": 47,
    "b": 193
  },
  "hsl": {
    "h": 253.151,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.44565,
    "c": 0.21072,
    "h": 283.9
  },
  "luminance": 0.07546
}

Semantic roles & 50–950 ramp

primary
#4F2FC1
secondary
#BBCC80
accent
#E444C1
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #4F2FC1

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

Preview Lab → · Contrast checker → · Palette generator →

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