#4F1CA9#4F1CA9

#4F1CA9 is a dark, highly saturated violet. Relative luminance 0.054; OKLCH L 40.2% C 0.201 H 290.5°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#4F1CA9
RGBrgb(79, 28, 169)
HSLhsl(262, 72%, 39%)
HSVhsv(262, 83%, 66%)
CMYKcmyk(53.3%, 83.4%, 0%, 33.7%)
CIE-LABlab(27.73, 53.69, -65.41)
CIE-LCHlch(27.73, 84.62, 309.38°)
OKLaboklab(40.17% 0.0703 -0.1881)
OKLCHoklch(40.17% 0.201 290.5)
XYZxyz(10.7991, 5.3569, 37.9934)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1CA9 #76A91C
analogous
#1C2FA9 #4F1CA9 #951CA9
triadic
#4F1CA9 #A94F1C #1CA94F
tetradic
#4F1CA9 #A91C2F #76A91C #1CA995
square
#4F1CA9 #A91C2F #76A91C #1CA995
split-complementary
#4F1CA9 #A9951C #2FA91C
monochromatic
#1E0B40 #361374 #4F1CA9 #6827DB #8D5BE4

Accessibility & contrast

On white

10.14
#4F1CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#4F1CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1CA9
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1CA9#FFFFFF#000000##FFFFFF
##4F1CA91.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AD
Deuteranopia (green-blind)
#003EA7
Tritanopia (blue-blind)
#2D4765
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4f1ca9;
/* rgb */ color: rgb(79, 28, 169);
/* oklch */ color: oklch(40.2% 0.201 290.5);
Tailwind
colors: {
  custom: {
    50: '#8b61c4',
    500: '#4f1ca9',
    950: '#000000',
  },
}
SCSS
$custom: #4f1ca9;
$custom-light: #8b61c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1ca9",
  "rgb": {
    "r": 79,
    "g": 28,
    "b": 169
  },
  "hsl": {
    "h": 261.702,
    "s": 71.574,
    "l": 38.627
  },
  "oklch": {
    "l": 0.40173,
    "c": 0.20079,
    "h": 290.5
  },
  "luminance": 0.05357
}

Semantic roles & 50–950 ramp

primary
#4F1CA9
secondary
#A0C859
accent
#EE39AD
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0513
muted
#7E7A82

Preview Lab

Preview with #4F1CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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