#4F2E88#4F2E88

#4F2E88 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.3% C 0.143 H 296.0°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#4F2E88
RGBrgb(79, 46, 136)
HSLhsl(262, 49%, 36%)
HSVhsv(262, 66%, 53%)
CMYKcmyk(41.9%, 66.2%, 0%, 46.7%)
CIE-LABlab(27.83, 35.94, -45.03)
CIE-LCHlch(27.83, 57.62, 308.59°)
OKLaboklab(39.34% 0.0627 -0.1284)
OKLCHoklch(39.34% 0.143 296)
XYZxyz(8.6442, 5.3937, 23.8734)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2E88 #67882E
analogous
#2E3A88 #4F2E88 #7C2E88
triadic
#4F2E88 #884F2E #2E884F
tetradic
#4F2E88 #882E3A #67882E #2E887C
square
#4F2E88 #882E3A #67882E #2E887C
split-complementary
#4F2E88 #887C2E #3A882E
monochromatic
#1A0F2D #341F5A #4F2E88 #6A3DB6 #8B65CB

Accessibility & contrast

On white

10.10
#4F2E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#4F2E88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2E88
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2E88#FFFFFF#000000##FFFFFF
##4F2E881.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428B
Deuteranopia (green-blind)
#004086
Tritanopia (blue-blind)
#404356
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4f2e88;
/* rgb */ color: rgb(79, 46, 136);
/* oklch */ color: oklch(39.3% 0.143 296.0);
Tailwind
colors: {
  custom: {
    50: '#8569ab',
    500: '#4f2e88',
    950: '#000000',
  },
}
SCSS
$custom: #4f2e88;
$custom-light: #8569ab;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2e88",
  "rgb": {
    "r": 79,
    "g": 46,
    "b": 136
  },
  "hsl": {
    "h": 262,
    "s": 49.451,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39337,
    "c": 0.14294,
    "h": 296
  },
  "luminance": 0.05394
}

Semantic roles & 50–950 ramp

primary
#4F2E88
secondary
#94B260
accent
#D94FA6
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4F2E88

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

Preview Lab → · Contrast checker → · Palette generator →

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