#4F2B85#4F2B85

#4F2B85 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.6% C 0.143 H 297.7°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#4F2B85
RGBrgb(79, 43, 133)
HSLhsl(264, 51%, 35%)
HSVhsv(264, 68%, 52%)
CMYKcmyk(40.6%, 67.7%, 0%, 47.8%)
CIE-LABlab(26.97, 36.80, -44.55)
CIE-LCHlch(26.97, 57.78, 309.55°)
OKLaboklab(38.65% 0.0666 -0.127)
OKLCHoklch(38.65% 0.143 297.7)
XYZxyz(8.3209, 5.0833, 22.7285)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2B85 #61852B
analogous
#2B3485 #4F2B85 #7C2B85
triadic
#4F2B85 #854F2B #2B854F
tetradic
#4F2B85 #852B34 #61852B #2B857C
square
#4F2B85 #852B34 #61852B #2B857C
split-complementary
#4F2B85 #857C2B #34852B
monochromatic
#180D29 #341C57 #4F2B85 #6A3AB3 #8A5FCB

Accessibility & contrast

On white

10.41
#4F2B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#4F2B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2B85
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2B85#FFFFFF#000000##FFFFFF
##4F2B851.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004088
Deuteranopia (green-blind)
#003F83
Tritanopia (blue-blind)
#424054
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4f2b85;
/* rgb */ color: rgb(79, 43, 133);
/* oklch */ color: oklch(38.6% 0.143 297.7);
Tailwind
colors: {
  custom: {
    50: '#8567a9',
    500: '#4f2b85',
    950: '#000000',
  },
}
SCSS
$custom: #4f2b85;
$custom-light: #8567a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2b85",
  "rgb": {
    "r": 79,
    "g": 43,
    "b": 133
  },
  "hsl": {
    "h": 264,
    "s": 51.136,
    "l": 34.51
  },
  "oklch": {
    "l": 0.38645,
    "c": 0.1434,
    "h": 297.7
  },
  "luminance": 0.05083
}

Semantic roles & 50–950 ramp

primary
#4F2B85
secondary
#8FB15B
accent
#DB4DA2
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4F2B85

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

Preview Lab → · Contrast checker → · Palette generator →

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