#4F2EB9#4F2EB9

#4F2EB9 is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 43.7% C 0.202 H 285.3°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#4F2EB9
RGBrgb(79, 46, 185)
HSLhsl(254, 60%, 45%)
HSVhsv(254, 75%, 73%)
CMYKcmyk(57.3%, 75.1%, 0%, 27.5%)
CIE-LABlab(32.07, 50.10, -67.81)
CIE-LCHlch(32.07, 84.31, 306.46°)
OKLaboklab(43.67% 0.0533 -0.1953)
OKLCHoklch(43.67% 0.202 285.3)
XYZxyz(12.9557, 7.1183, 46.5808)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2EB9 #98B92E
analogous
#2E52B9 #4F2EB9 #952EB9
triadic
#4F2EB9 #B94F2E #2EB94F
tetradic
#4F2EB9 #B92E52 #98B92E #2EB995
square
#4F2EB9 #B92E52 #98B92E #2EB995
split-complementary
#4F2EB9 #B9952E #52B92E
monochromatic
#251657 #3A2288 #4F2EB9 #7051D4 #9882E0

Accessibility & contrast

On white

8.66
#4F2EB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#4F2EB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2EB9
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2EB9#FFFFFF#000000##FFFFFF
##4F2EB91.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBD
Deuteranopia (green-blind)
#0047B6
Tritanopia (blue-blind)
#185571
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4f2eb9;
/* rgb */ color: rgb(79, 46, 185);
/* oklch */ color: oklch(43.7% 0.202 285.3);
Tailwind
colors: {
  custom: {
    50: '#8c6bcf',
    500: '#4f2eb9',
    950: '#000000',
  },
}
SCSS
$custom: #4f2eb9;
$custom-light: #8c6bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2eb9",
  "rgb": {
    "r": 79,
    "g": 46,
    "b": 185
  },
  "hsl": {
    "h": 254.245,
    "s": 60.173,
    "l": 45.294
  },
  "oklch": {
    "l": 0.43672,
    "c": 0.20244,
    "h": 285.3
  },
  "luminance": 0.07119
}

Semantic roles & 50–950 ramp

primary
#4F2EB9
secondary
#B6C97A
accent
#E344BE
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4F2EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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