#4F2FC0#4F2FC0

#4F2FC0 is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.5% C 0.210 H 284.0°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#4F2FC0
RGBrgb(79, 47, 192)
HSLhsl(253, 61%, 47%)
HSVhsv(253, 76%, 75%)
CMYKcmyk(58.9%, 75.5%, 0%, 24.7%)
CIE-LABlab(32.92, 51.63, -70.55)
CIE-LCHlch(32.92, 87.43, 306.20°)
OKLaboklab(44.47% 0.0508 -0.2033)
OKLCHoklch(44.47% 0.21 284)
XYZxyz(13.7525, 7.5002, 50.5819)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2FC0 #A0C02F
analogous
#2F58C0 #4F2FC0 #972FC0
triadic
#4F2FC0 #C04F2F #2FC04F
tetradic
#4F2FC0 #C02F58 #A0C02F #2FC097
square
#4F2FC0 #C02F58 #A0C02F #2FC097
split-complementary
#4F2FC0 #C0972F #58C02F
monochromatic
#27175E #3B238F #4F2FC0 #7356D6 #9C88E2

Accessibility & contrast

On white

8.40
#4F2FC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#4F2FC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2FC0
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2FC0#FFFFFF#000000##FFFFFF
##4F2FC01.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C4
Deuteranopia (green-blind)
#0049BD
Tritanopia (blue-blind)
#065876
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4f2fc0;
/* rgb */ color: rgb(79, 47, 192);
/* oklch */ color: oklch(44.5% 0.210 284.0);
Tailwind
colors: {
  custom: {
    50: '#8d6cd4',
    500: '#4f2fc0',
    950: '#000000',
  },
}
SCSS
$custom: #4f2fc0;
$custom-light: #8d6cd4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2fc0",
  "rgb": {
    "r": 79,
    "g": 47,
    "b": 192
  },
  "hsl": {
    "h": 253.241,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.44468,
    "c": 0.20957,
    "h": 284
  },
  "luminance": 0.07501
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F2FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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