#4F2D91#4F2D91

#4F2D91 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 39.9% C 0.156 H 293.8°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#4F2D91
RGBrgb(79, 45, 145)
HSLhsl(260, 53%, 37%)
HSVhsv(260, 69%, 57%)
CMYKcmyk(45.5%, 69%, 0%, 43.1%)
CIE-LABlab(28.34, 39.07, -49.78)
CIE-LCHlch(28.34, 63.29, 308.13°)
OKLaboklab(39.93% 0.0627 -0.1424)
OKLCHoklch(39.93% 0.156 293.8)
XYZxyz(9.2723, 5.5831, 27.3717)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2D91 #6F912D
analogous
#2D3D91 #4F2D91 #812D91
triadic
#4F2D91 #914F2D #2D914F
tetradic
#4F2D91 #912D3D #6F912D #2D9181
square
#4F2D91 #912D3D #6F912D #2D9181
split-complementary
#4F2D91 #91812D #3D912D
monochromatic
#1C1034 #361F62 #4F2D91 #683BC0 #8C68D0

Accessibility & contrast

On white

9.92
#4F2D91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#4F2D91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2D91
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2D91#FFFFFF#000000##FFFFFF
##4F2D911.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004494
Deuteranopia (green-blind)
#00418F
Tritanopia (blue-blind)
#3C455B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4f2d91;
/* rgb */ color: rgb(79, 45, 145);
/* oklch */ color: oklch(39.9% 0.156 293.8);
Tailwind
colors: {
  custom: {
    50: '#8668b2',
    500: '#4f2d91',
    950: '#000000',
  },
}
SCSS
$custom: #4f2d91;
$custom-light: #8668b2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2d91",
  "rgb": {
    "r": 79,
    "g": 45,
    "b": 145
  },
  "hsl": {
    "h": 260.4,
    "s": 52.632,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39926,
    "c": 0.15559,
    "h": 293.8
  },
  "luminance": 0.05583
}

Semantic roles & 50–950 ramp

primary
#4F2D91
secondary
#9AB763
accent
#DC4CAB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4F2D91

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

Preview Lab → · Contrast checker → · Palette generator →

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