#4F2C93#4F2C93

#4F2C93 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.0% C 0.159 H 293.4°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#4F2C93
RGBrgb(79, 44, 147)
HSLhsl(260, 54%, 37%)
HSVhsv(260, 70%, 58%)
CMYKcmyk(46.3%, 70.1%, 0%, 42.4%)
CIE-LABlab(28.30, 40.19, -51.07)
CIE-LCHlch(28.30, 64.99, 308.20°)
OKLaboklab(39.95% 0.0634 -0.1462)
OKLCHoklch(39.95% 0.159 293.4)
XYZxyz(9.3901, 5.5699, 28.1785)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2C93 #70932C
analogous
#2C3D93 #4F2C93 #822C93
triadic
#4F2C93 #934F2C #2C934F
tetradic
#4F2C93 #932C3D #70932C #2C9382
square
#4F2C93 #932C3D #70932C #2C9382
split-complementary
#4F2C93 #93822C #3D932C
monochromatic
#1C1035 #361E64 #4F2C93 #683AC2 #8C68D2

Accessibility & contrast

On white

9.93
#4F2C93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#4F2C93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2C93
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2C93#FFFFFF#000000##FFFFFF
##4F2C931.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004496
Deuteranopia (green-blind)
#004191
Tritanopia (blue-blind)
#3B465C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4f2c93;
/* rgb */ color: rgb(79, 44, 147);
/* oklch */ color: oklch(40.0% 0.159 293.4);
Tailwind
colors: {
  custom: {
    50: '#8768b4',
    500: '#4f2c93',
    950: '#000000',
  },
}
SCSS
$custom: #4f2c93;
$custom-light: #8768b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2c93",
  "rgb": {
    "r": 79,
    "g": 44,
    "b": 147
  },
  "hsl": {
    "h": 260.388,
    "s": 53.927,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39953,
    "c": 0.15935,
    "h": 293.4
  },
  "luminance": 0.0557
}

Semantic roles & 50–950 ramp

primary
#4F2C93
secondary
#9BB863
accent
#DD4AAB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4F2C93

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

Preview Lab → · Contrast checker → · Palette generator →

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