#4F2D8E#4F2D8E

#4F2D8E is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.7% C 0.152 H 294.6°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#4F2D8E
RGBrgb(79, 45, 142)
HSLhsl(261, 52%, 37%)
HSVhsv(261, 68%, 56%)
CMYKcmyk(44.4%, 68.3%, 0%, 44.3%)
CIE-LABlab(28.09, 38.21, -48.33)
CIE-LCHlch(28.09, 61.61, 308.33°)
OKLaboklab(39.68% 0.0631 -0.1381)
OKLCHoklch(39.68% 0.152 294.6)
XYZxyz(9.0440, 5.4918, 26.1695)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2D8E #6C8E2D
analogous
#2D3C8E #4F2D8E #802D8E
triadic
#4F2D8E #8E4F2D #2D8E4F
tetradic
#4F2D8E #8E2D3C #6C8E2D #2D8E80
square
#4F2D8E #8E2D3C #6C8E2D #2D8E80
split-complementary
#4F2D8E #8E802D #3C8E2D
monochromatic
#1B1031 #351E60 #4F2D8E #693CBC #8B67CF

Accessibility & contrast

On white

10.01
#4F2D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#4F2D8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2D8E
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2D8E#FFFFFF#000000##FFFFFF
##4F2D8E1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004391
Deuteranopia (green-blind)
#00418C
Tritanopia (blue-blind)
#3E4459
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4f2d8e;
/* rgb */ color: rgb(79, 45, 142);
/* oklch */ color: oklch(39.7% 0.152 294.6);
Tailwind
colors: {
  custom: {
    50: '#8668b0',
    500: '#4f2d8e',
    950: '#000000',
  },
}
SCSS
$custom: #4f2d8e;
$custom-light: #8668b0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2d8e",
  "rgb": {
    "r": 79,
    "g": 45,
    "b": 142
  },
  "hsl": {
    "h": 261.031,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39676,
    "c": 0.15187,
    "h": 294.6
  },
  "luminance": 0.05492
}

Semantic roles & 50–950 ramp

primary
#4F2D8E
secondary
#98B561
accent
#DB4CA9
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #4F2D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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