#4F2B88#4F2B88

#4F2B88 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 38.9% C 0.147 H 296.7°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#4F2B88
RGBrgb(79, 43, 136)
HSLhsl(263, 52%, 35%)
HSVhsv(263, 68%, 53%)
CMYKcmyk(41.9%, 68.4%, 0%, 46.7%)
CIE-LABlab(27.21, 37.63, -46.04)
CIE-LCHlch(27.21, 59.47, 309.26°)
OKLaboklab(38.89% 0.0662 -0.1314)
OKLCHoklch(38.89% 0.147 296.7)
XYZxyz(8.5311, 5.1674, 23.8357)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2B88 #64882B
analogous
#2B3588 #4F2B88 #7D2B88
triadic
#4F2B88 #884F2B #2B884F
tetradic
#4F2B88 #882B35 #64882B #2B887D
square
#4F2B88 #882B35 #64882B #2B887D
split-complementary
#4F2B88 #887D2B #35882B
monochromatic
#190E2B #341C5A #4F2B88 #6A3AB6 #8A61CD

Accessibility & contrast

On white

10.33
#4F2B88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#4F2B88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2B88
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2B88#FFFFFF#000000##FFFFFF
##4F2B881.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418B
Deuteranopia (green-blind)
#003F86
Tritanopia (blue-blind)
#414155
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4f2b88;
/* rgb */ color: rgb(79, 43, 136);
/* oklch */ color: oklch(38.9% 0.147 296.7);
Tailwind
colors: {
  custom: {
    50: '#8567ab',
    500: '#4f2b88',
    950: '#000000',
  },
}
SCSS
$custom: #4f2b88;
$custom-light: #8567ab;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2b88",
  "rgb": {
    "r": 79,
    "g": 43,
    "b": 136
  },
  "hsl": {
    "h": 263.226,
    "s": 51.955,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38889,
    "c": 0.14712,
    "h": 296.7
  },
  "luminance": 0.05168
}

Semantic roles & 50–950 ramp

primary
#4F2B88
secondary
#91B35C
accent
#DB4CA4
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4F2B88

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

Preview Lab → · Contrast checker → · Palette generator →

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