#4F1DA1#4F1DA1

#4F1DA1 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.5% C 0.191 H 292.3°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#4F1DA1
RGBrgb(79, 29, 161)
HSLhsl(263, 69%, 37%)
HSVhsv(263, 82%, 63%)
CMYKcmyk(50.9%, 82%, 0%, 36.9%)
CIE-LABlab(27.06, 51.20, -61.67)
CIE-LCHlch(27.06, 80.15, 309.70°)
OKLaboklab(39.47% 0.0725 -0.1772)
OKLCHoklch(39.47% 0.191 292.3)
XYZxyz(10.0950, 5.1138, 34.1665)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1DA1 #6FA11D
analogous
#1D2DA1 #4F1DA1 #911DA1
triadic
#4F1DA1 #A14F1D #1DA14F
tetradic
#4F1DA1 #A11D2D #6FA11D #1DA191
square
#4F1DA1 #A11D2D #6FA11D #1DA191
split-complementary
#4F1DA1 #A1911D #2DA11D
monochromatic
#1C0A39 #36146D #4F1DA1 #6826D5 #8C58E1

Accessibility & contrast

On white

10.38
#4F1DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#4F1DA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1DA1
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1DA1#FFFFFF#000000##FFFFFF
##4F1DA11.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A5
Deuteranopia (green-blind)
#003D9F
Tritanopia (blue-blind)
#334460
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4f1da1;
/* rgb */ color: rgb(79, 29, 161);
/* oklch */ color: oklch(39.5% 0.191 292.3);
Tailwind
colors: {
  custom: {
    50: '#8a61be',
    500: '#4f1da1',
    950: '#000000',
  },
}
SCSS
$custom: #4f1da1;
$custom-light: #8a61be;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1da1",
  "rgb": {
    "r": 79,
    "g": 29,
    "b": 161
  },
  "hsl": {
    "h": 262.727,
    "s": 69.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39469,
    "c": 0.19144,
    "h": 292.3
  },
  "luminance": 0.05114
}

Semantic roles & 50–950 ramp

primary
#4F1DA1
secondary
#9AC455
accent
#EC3CA9
background
#F9F5FB
surface
#F1EAF7
border
#CBC6D0
text
#0D0512
muted
#7E7981

Preview Lab

Preview with #4F1DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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