#4F2F92#4F2F92

#4F2F92 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.3% C 0.154 H 293.0°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#4F2F92
RGBrgb(79, 47, 146)
HSLhsl(259, 51%, 38%)
HSVhsv(259, 68%, 57%)
CMYKcmyk(45.9%, 67.8%, 0%, 42.7%)
CIE-LABlab(28.83, 38.24, -49.60)
CIE-LCHlch(28.83, 62.63, 307.63°)
OKLaboklab(40.3% 0.0604 -0.1419)
OKLCHoklch(40.3% 0.154 293)
XYZxyz(9.4278, 5.7703, 27.8056)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2F92 #72922F
analogous
#2F4092 #4F2F92 #802F92
triadic
#4F2F92 #924F2F #2F924F
tetradic
#4F2F92 #922F40 #72922F #2F9280
square
#4F2F92 #922F40 #72922F #2F9280
split-complementary
#4F2F92 #92802F #40922F
monochromatic
#1D1135 #362064 #4F2F92 #683EC0 #8C6CD0

Accessibility & contrast

On white

9.75
#4F2F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#4F2F92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2F92
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2F92#FFFFFF#000000##FFFFFF
##4F2F921.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004595
Deuteranopia (green-blind)
#004290
Tritanopia (blue-blind)
#3C475C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4f2f92;
/* rgb */ color: rgb(79, 47, 146);
/* oklch */ color: oklch(40.3% 0.154 293.0);
Tailwind
colors: {
  custom: {
    50: '#866ab3',
    500: '#4f2f92',
    950: '#000000',
  },
}
SCSS
$custom: #4f2f92;
$custom-light: #866ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2f92",
  "rgb": {
    "r": 79,
    "g": 47,
    "b": 146
  },
  "hsl": {
    "h": 259.394,
    "s": 51.295,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40304,
    "c": 0.15419,
    "h": 293
  },
  "luminance": 0.05771
}

Semantic roles & 50–950 ramp

primary
#4F2F92
secondary
#9DB766
accent
#DB4DAD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4F2F92

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

Preview Lab → · Contrast checker → · Palette generator →

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