#4F2EFF#4F2EFF

#4F2EFF is a mid, highly saturated blue. Relative luminance 0.108; OKLCH L 50.8% C 0.280 H 276.9°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#4F2EFF
RGBrgb(79, 46, 255)
HSLhsl(249, 100%, 59%)
HSVhsv(249, 82%, 100%)
CMYKcmyk(69%, 82%, 0%, 0%)
CIE-LABlab(39.30, 69.77, -96.11)
CIE-LCHlch(39.30, 118.76, 305.98°)
OKLaboklab(50.82% 0.0335 -0.2777)
OKLCHoklch(50.82% 0.28 276.9)
XYZxyz(22.2456, 10.8342, 95.5072)
Luminance0.1084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2EFF #DEFF2E
analogous
#2E76FF #4F2EFF #B82EFF
triadic
#4F2EFF #FF4F2E #2EFF4F
tetradic
#4F2EFF #FF2E76 #DEFF2E #2EFFB8
square
#4F2EFF #FF2E76 #DEFF2E #2EFFB8
split-complementary
#4F2EFF #FFB82E #76FF2E
monochromatic
#1C00B3 #2600F0 #4F2EFF #836BFF #B6A8FF

Accessibility & contrast

On white

6.63
#4F2EFF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#4F2EFF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F2EFF
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2EFF#FFFFFF#000000##FFFFFF
##4F2EFF1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065FF
Deuteranopia (green-blind)
#0054FC
Tritanopia (blue-blind)
#00729A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4f2eff;
/* rgb */ color: rgb(79, 46, 255);
/* oklch */ color: oklch(50.8% 0.280 276.9);
Tailwind
colors: {
  custom: {
    50: '#996fff',
    500: '#4f2eff',
    950: '#000000',
  },
}
SCSS
$custom: #4f2eff;
$custom-light: #996fff;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2eff",
  "rgb": {
    "r": 79,
    "g": 46,
    "b": 255
  },
  "hsl": {
    "h": 249.474,
    "s": 100,
    "l": 59.02
  },
  "oklch": {
    "l": 0.5082,
    "c": 0.27969,
    "h": 276.9
  },
  "luminance": 0.10836
}

Semantic roles & 50–950 ramp

primary
#4F2EFF
secondary
#E0ED9B
accent
#FF29DD
background
#FAF7FF
surface
#F4EDFF
border
#CEC8D7
text
#100818
muted
#7F7B86

Preview Lab

Preview with #4F2EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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