#4F2DB9#4F2DB9

#4F2DB9 is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 43.5% C 0.203 H 285.4°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#4F2DB9
RGBrgb(79, 45, 185)
HSLhsl(255, 61%, 45%)
HSVhsv(255, 76%, 73%)
CMYKcmyk(57.3%, 75.7%, 0%, 27.5%)
CIE-LABlab(31.90, 50.60, -68.10)
CIE-LCHlch(31.90, 84.84, 306.61°)
OKLaboklab(43.55% 0.0541 -0.1961)
OKLCHoklch(43.55% 0.203 285.4)
XYZxyz(12.9171, 7.0411, 46.5679)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2DB9 #97B92D
analogous
#2D51B9 #4F2DB9 #952DB9
triadic
#4F2DB9 #B94F2D #2DB94F
tetradic
#4F2DB9 #B92D51 #97B92D #2DB995
square
#4F2DB9 #B92D51 #97B92D #2DB995
split-complementary
#4F2DB9 #B9952D #51B92D
monochromatic
#251557 #3A2188 #4F2DB9 #6F4FD4 #9880E0

Accessibility & contrast

On white

8.72
#4F2DB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#4F2DB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2DB9
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2DB9#FFFFFF#000000##FFFFFF
##4F2DB91.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBD
Deuteranopia (green-blind)
#0047B6
Tritanopia (blue-blind)
#185571
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4f2db9;
/* rgb */ color: rgb(79, 45, 185);
/* oklch */ color: oklch(43.5% 0.203 285.4);
Tailwind
colors: {
  custom: {
    50: '#8c6acf',
    500: '#4f2db9',
    950: '#000000',
  },
}
SCSS
$custom: #4f2db9;
$custom-light: #8c6acf;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2db9",
  "rgb": {
    "r": 79,
    "g": 45,
    "b": 185
  },
  "hsl": {
    "h": 254.571,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.4355,
    "c": 0.20343,
    "h": 285.4
  },
  "luminance": 0.07042
}

Semantic roles & 50–950 ramp

primary
#4F2DB9
secondary
#B6C979
accent
#E444BD
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4F2DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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