#4F2EBD#4F2EBD

#4F2EBD is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.1% C 0.207 H 284.6°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#4F2EBD
RGBrgb(79, 46, 189)
HSLhsl(254, 61%, 46%)
HSVhsv(254, 76%, 74%)
CMYKcmyk(58.2%, 75.7%, 0%, 25.9%)
CIE-LABlab(32.46, 51.26, -69.55)
CIE-LCHlch(32.46, 86.40, 306.39°)
OKLaboklab(44.06% 0.0523 -0.2004)
OKLCHoklch(44.06% 0.207 284.6)
XYZxyz(13.3839, 7.2895, 48.8360)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2EBD #9CBD2E
analogous
#2E54BD #4F2EBD #962EBD
triadic
#4F2EBD #BD4F2E #2EBD4F
tetradic
#4F2EBD #BD2E54 #9CBD2E #2EBD96
square
#4F2EBD #BD2E54 #9CBD2E #2EBD96
split-complementary
#4F2EBD #BD962E #54BD2E
monochromatic
#26165B #3A228C #4F2EBD #7153D5 #9A84E1

Accessibility & contrast

On white

8.54
#4F2EBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#4F2EBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2EBD
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2EBD#FFFFFF#000000##FFFFFF
##4F2EBD1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C1
Deuteranopia (green-blind)
#0048BA
Tritanopia (blue-blind)
#105774
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4f2ebd;
/* rgb */ color: rgb(79, 46, 189);
/* oklch */ color: oklch(44.1% 0.207 284.6);
Tailwind
colors: {
  custom: {
    50: '#8d6bd2',
    500: '#4f2ebd',
    950: '#000000',
  },
}
SCSS
$custom: #4f2ebd;
$custom-light: #8d6bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2ebd",
  "rgb": {
    "r": 79,
    "g": 46,
    "b": 189
  },
  "hsl": {
    "h": 253.846,
    "s": 60.851,
    "l": 46.078
  },
  "oklch": {
    "l": 0.44056,
    "c": 0.20707,
    "h": 284.6
  },
  "luminance": 0.0729
}

Semantic roles & 50–950 ramp

primary
#4F2EBD
secondary
#B8CA7C
accent
#E444BF
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4F2EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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