#4F2B8A#4F2B8A

#4F2B8A is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.1% C 0.150 H 296.1°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#4F2B8A
RGBrgb(79, 43, 138)
HSLhsl(263, 52%, 35%)
HSVhsv(263, 69%, 54%)
CMYKcmyk(42.8%, 68.8%, 0%, 45.9%)
CIE-LABlab(27.37, 38.19, -47.03)
CIE-LCHlch(27.37, 60.58, 309.08°)
OKLaboklab(39.05% 0.0659 -0.1343)
OKLCHoklch(39.05% 0.15 296.1)
XYZxyz(8.6746, 5.2248, 24.5913)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2B8A #668A2B
analogous
#2B368A #4F2B8A #7E2B8A
triadic
#4F2B8A #8A4F2B #2B8A4F
tetradic
#4F2B8A #8A2B36 #668A2B #2B8A7E
square
#4F2B8A #8A2B36 #668A2B #2B8A7E
split-complementary
#4F2B8A #8A7E2B #368A2B
monochromatic
#1A0E2D #341C5B #4F2B8A #6A3AB9 #8B61CE

Accessibility & contrast

On white

10.27
#4F2B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#4F2B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2B8A
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2B8A#FFFFFF#000000##FFFFFF
##4F2B8A1.0010.272.0510.27
#FFFFFF10.271.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418D
Deuteranopia (green-blind)
#003F88
Tritanopia (blue-blind)
#404257
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4f2b8a;
/* rgb */ color: rgb(79, 43, 138);
/* oklch */ color: oklch(39.1% 0.150 296.1);
Tailwind
colors: {
  custom: {
    50: '#8667ad',
    500: '#4f2b8a',
    950: '#000000',
  },
}
SCSS
$custom: #4f2b8a;
$custom-light: #8667ad;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2b8a",
  "rgb": {
    "r": 79,
    "g": 43,
    "b": 138
  },
  "hsl": {
    "h": 262.737,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39053,
    "c": 0.1496,
    "h": 296.1
  },
  "luminance": 0.05225
}

Semantic roles & 50–950 ramp

primary
#4F2B8A
secondary
#93B45D
accent
#DC4CA5
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #4F2B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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