#4F2F93#4F2F93

#4F2F93 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.4% C 0.155 H 292.8°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#4F2F93
RGBrgb(79, 47, 147)
HSLhsl(259, 52%, 38%)
HSVhsv(259, 68%, 58%)
CMYKcmyk(46.3%, 68%, 0%, 42.4%)
CIE-LABlab(28.91, 38.53, -50.09)
CIE-LCHlch(28.91, 63.19, 307.57°)
OKLaboklab(40.39% 0.0602 -0.1433)
OKLCHoklch(40.39% 0.155 292.8)
XYZxyz(9.5060, 5.8016, 28.2171)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2F93 #73932F
analogous
#2F4193 #4F2F93 #812F93
triadic
#4F2F93 #934F2F #2F934F
tetradic
#4F2F93 #932F41 #73932F #2F9381
square
#4F2F93 #932F41 #73932F #2F9381
split-complementary
#4F2F93 #93812F #41932F
monochromatic
#1D1136 #362065 #4F2F93 #683EC1 #8C6CD0

Accessibility & contrast

On white

9.72
#4F2F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#4F2F93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2F93
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2F93#FFFFFF#000000##FFFFFF
##4F2F931.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004596
Deuteranopia (green-blind)
#004291
Tritanopia (blue-blind)
#3B475D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4f2f93;
/* rgb */ color: rgb(79, 47, 147);
/* oklch */ color: oklch(40.4% 0.155 292.8);
Tailwind
colors: {
  custom: {
    50: '#866ab3',
    500: '#4f2f93',
    950: '#000000',
  },
}
SCSS
$custom: #4f2f93;
$custom-light: #866ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2f93",
  "rgb": {
    "r": 79,
    "g": 47,
    "b": 147
  },
  "hsl": {
    "h": 259.2,
    "s": 51.546,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40387,
    "c": 0.15545,
    "h": 292.8
  },
  "luminance": 0.05802
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F2F93

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

Preview Lab → · Contrast checker → · Palette generator →

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