#4F2FDF#4F2FDF

#4F2FDF is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.6% C 0.245 H 280.0°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#4F2FDF
RGBrgb(79, 47, 223)
HSLhsl(251, 73%, 53%)
HSVhsv(251, 79%, 87%)
CMYKcmyk(64.6%, 78.9%, 0%, 12.5%)
CIE-LABlab(36.03, 60.50, -83.42)
CIE-LCHlch(36.03, 103.05, 305.95°)
OKLaboklab(47.56% 0.0424 -0.2408)
OKLCHoklch(47.56% 0.245 280)
XYZxyz(17.5560, 9.0216, 70.6139)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2FDF #BFDF2F
analogous
#2F67DF #4F2FDF #A72FDF
triadic
#4F2FDF #DF4F2F #2FDF4F
tetradic
#4F2FDF #DF2F67 #BFDF2F #2FDFA7
square
#4F2FDF #DF2F67 #BFDF2F #2FDFA7
split-complementary
#4F2FDF #DFA72F #67DF2F
monochromatic
#271480 #381CB5 #4F2FDF #7C64E7 #A999EF

Accessibility & contrast

On white

7.49
#4F2FDF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#4F2FDF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2FDF
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2FDF#FFFFFF#000000##FFFFFF
##4F2FDF1.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BE4
Deuteranopia (green-blind)
#004EDC
Tritanopia (blue-blind)
#006588
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4f2fdf;
/* rgb */ color: rgb(79, 47, 223);
/* oklch */ color: oklch(47.6% 0.245 280.0);
Tailwind
colors: {
  custom: {
    50: '#936dea',
    500: '#4f2fdf',
    950: '#000000',
  },
}
SCSS
$custom: #4f2fdf;
$custom-light: #936dea;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2fdf",
  "rgb": {
    "r": 79,
    "g": 47,
    "b": 223
  },
  "hsl": {
    "h": 250.909,
    "s": 73.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.47562,
    "c": 0.24452,
    "h": 280
  },
  "luminance": 0.09023
}

Semantic roles & 50–950 ramp

primary
#4F2FDF
secondary
#CDDB8F
accent
#F038CF
background
#FAF6FE
surface
#F3ECFD
border
#CDC7D5
text
#0F0716
muted
#7F7A84

Preview Lab

Preview with #4F2FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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