#4F2B8D#4F2B8D

#4F2B8D is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.3% C 0.153 H 295.3°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#4F2B8D
RGBrgb(79, 43, 141)
HSLhsl(262, 53%, 36%)
HSVhsv(262, 70%, 55%)
CMYKcmyk(44%, 69.5%, 0%, 44.7%)
CIE-LABlab(27.61, 39.04, -48.50)
CIE-LCHlch(27.61, 62.26, 308.83°)
OKLaboklab(39.3% 0.0654 -0.1386)
OKLCHoklch(39.3% 0.153 295.3)
XYZxyz(8.8948, 5.3129, 25.7510)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2B8D #698D2B
analogous
#2B388D #4F2B8D #802B8D
triadic
#4F2B8D #8D4F2B #2B8D4F
tetradic
#4F2B8D #8D2B38 #698D2B #2B8D80
square
#4F2B8D #8D2B38 #698D2B #2B8D80
split-complementary
#4F2B8D #8D802B #388D2B
monochromatic
#1A0E2F #351D5E #4F2B8D #6939BC #8B63CF

Accessibility & contrast

On white

10.18
#4F2B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4F2B8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2B8D
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2B8D#FFFFFF#000000##FFFFFF
##4F2B8D1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004290
Deuteranopia (green-blind)
#00408B
Tritanopia (blue-blind)
#3E4358
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4f2b8d;
/* rgb */ color: rgb(79, 43, 141);
/* oklch */ color: oklch(39.3% 0.153 295.3);
Tailwind
colors: {
  custom: {
    50: '#8667af',
    500: '#4f2b8d',
    950: '#000000',
  },
}
SCSS
$custom: #4f2b8d;
$custom-light: #8667af;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2b8d",
  "rgb": {
    "r": 79,
    "g": 43,
    "b": 141
  },
  "hsl": {
    "h": 262.041,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.39303,
    "c": 0.15329,
    "h": 295.3
  },
  "luminance": 0.05313
}

Semantic roles & 50–950 ramp

primary
#4F2B8D
secondary
#95B65E
accent
#DD4BA7
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #4F2B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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