#4F2A93#4F2A93

#4F2A93 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.7% C 0.162 H 293.8°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#4F2A93
RGBrgb(79, 42, 147)
HSLhsl(261, 56%, 37%)
HSVhsv(261, 71%, 58%)
CMYKcmyk(46.3%, 71.4%, 0%, 42.4%)
CIE-LABlab(27.91, 41.27, -51.71)
CIE-LCHlch(27.91, 66.16, 308.60°)
OKLaboklab(39.67% 0.0654 -0.148)
OKLCHoklch(39.67% 0.162 293.8)
XYZxyz(9.3174, 5.4245, 28.1542)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2A93 #6E932A
analogous
#2A3993 #4F2A93 #842A93
triadic
#4F2A93 #934F2A #2A934F
tetradic
#4F2A93 #932A39 #6E932A #2A9384
square
#4F2A93 #932A39 #6E932A #2A9384
split-complementary
#4F2A93 #93842A #39932A
monochromatic
#1C0F34 #351C63 #4F2A93 #6938C3 #8B65D3

Accessibility & contrast

On white

10.07
#4F2A93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#4F2A93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2A93
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2A93#FFFFFF#000000##FFFFFF
##4F2A931.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004396
Deuteranopia (green-blind)
#004091
Tritanopia (blue-blind)
#3B445B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4f2a93;
/* rgb */ color: rgb(79, 42, 147);
/* oklch */ color: oklch(39.7% 0.162 293.8);
Tailwind
colors: {
  custom: {
    50: '#8767b4',
    500: '#4f2a93',
    950: '#000000',
  },
}
SCSS
$custom: #4f2a93;
$custom-light: #8767b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2a93",
  "rgb": {
    "r": 79,
    "g": 42,
    "b": 147
  },
  "hsl": {
    "h": 261.143,
    "s": 55.556,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39675,
    "c": 0.16187,
    "h": 293.8
  },
  "luminance": 0.05425
}

Semantic roles & 50–950 ramp

primary
#4F2A93
secondary
#9AB960
accent
#DF49AA
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4F2A93

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

Preview Lab → · Contrast checker → · Palette generator →

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