#4F2F94#4F2F94

#4F2F94 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.5% C 0.157 H 292.5°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#4F2F94
RGBrgb(79, 47, 148)
HSLhsl(259, 52%, 38%)
HSVhsv(259, 68%, 58%)
CMYKcmyk(46.6%, 68.2%, 0%, 42%)
CIE-LABlab(28.99, 38.82, -50.57)
CIE-LCHlch(28.99, 63.75, 307.51°)
OKLaboklab(40.47% 0.0601 -0.1447)
OKLCHoklch(40.47% 0.157 292.5)
XYZxyz(9.5848, 5.8331, 28.6321)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2F94 #74942F
analogous
#2F4194 #4F2F94 #812F94
triadic
#4F2F94 #944F2F #2F944F
tetradic
#4F2F94 #942F41 #74942F #2F9481
square
#4F2F94 #942F41 #74942F #2F9481
split-complementary
#4F2F94 #94812F #41942F
monochromatic
#1D1137 #362066 #4F2F94 #683EC2 #8C6DD1

Accessibility & contrast

On white

9.69
#4F2F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#4F2F94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2F94
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2F94#FFFFFF#000000##FFFFFF
##4F2F941.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004697
Deuteranopia (green-blind)
#004292
Tritanopia (blue-blind)
#3B485D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4f2f94;
/* rgb */ color: rgb(79, 47, 148);
/* oklch */ color: oklch(40.5% 0.157 292.5);
Tailwind
colors: {
  custom: {
    50: '#876ab4',
    500: '#4f2f94',
    950: '#000000',
  },
}
SCSS
$custom: #4f2f94;
$custom-light: #876ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2f94",
  "rgb": {
    "r": 79,
    "g": 47,
    "b": 148
  },
  "hsl": {
    "h": 259.01,
    "s": 51.795,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40471,
    "c": 0.1567,
    "h": 292.5
  },
  "luminance": 0.05833
}

Semantic roles & 50–950 ramp

primary
#4F2F94
secondary
#9EB867
accent
#DB4DAE
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4F2F94

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

Preview Lab → · Contrast checker → · Palette generator →

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