#4F2A92#4F2A92

#4F2A92 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.6% C 0.161 H 294.1°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#4F2A92
RGBrgb(79, 42, 146)
HSLhsl(261, 55%, 37%)
HSVhsv(261, 71%, 57%)
CMYKcmyk(45.9%, 71.2%, 0%, 42.7%)
CIE-LABlab(27.83, 40.99, -51.23)
CIE-LCHlch(27.83, 65.61, 308.66°)
OKLaboklab(39.59% 0.0656 -0.1466)
OKLCHoklch(39.59% 0.161 294.1)
XYZxyz(9.2393, 5.3933, 27.7428)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2A92 #6D922A
analogous
#2A3992 #4F2A92 #832A92
triadic
#4F2A92 #924F2A #2A924F
tetradic
#4F2A92 #922A39 #6D922A #2A9283
square
#4F2A92 #922A39 #6D922A #2A9283
split-complementary
#4F2A92 #92832A #39922A
monochromatic
#1C0F33 #351C62 #4F2A92 #6938C2 #8B64D2

Accessibility & contrast

On white

10.10
#4F2A92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#4F2A92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2A92
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2A92#FFFFFF#000000##FFFFFF
##4F2A921.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004395
Deuteranopia (green-blind)
#004090
Tritanopia (blue-blind)
#3C445B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4f2a92;
/* rgb */ color: rgb(79, 42, 146);
/* oklch */ color: oklch(39.6% 0.161 294.1);
Tailwind
colors: {
  custom: {
    50: '#8767b3',
    500: '#4f2a92',
    950: '#000000',
  },
}
SCSS
$custom: #4f2a92;
$custom-light: #8767b3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2a92",
  "rgb": {
    "r": 79,
    "g": 42,
    "b": 146
  },
  "hsl": {
    "h": 261.346,
    "s": 55.319,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39589,
    "c": 0.16066,
    "h": 294.1
  },
  "luminance": 0.05394
}

Semantic roles & 50–950 ramp

primary
#4F2A92
secondary
#99B85F
accent
#DF49A9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4F2A92

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

Preview Lab → · Contrast checker → · Palette generator →

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