#4F1DA0#4F1DA0

#4F1DA0 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.4% C 0.190 H 292.5°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#4F1DA0
RGBrgb(79, 29, 160)
HSLhsl(263, 69%, 37%)
HSVhsv(263, 82%, 63%)
CMYKcmyk(50.6%, 81.9%, 0%, 37.3%)
CIE-LABlab(26.96, 50.94, -61.23)
CIE-LCHlch(26.96, 79.64, 309.76°)
OKLaboklab(39.37% 0.0729 -0.1759)
OKLCHoklch(39.37% 0.19 292.5)
XYZxyz(10.0072, 5.0787, 33.7039)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1DA0 #6EA01D
analogous
#1D2CA0 #4F1DA0 #911DA0
triadic
#4F1DA0 #A04F1D #1DA04F
tetradic
#4F1DA0 #A01D2C #6EA01D #1DA091
square
#4F1DA0 #A01D2C #6EA01D #1DA091
split-complementary
#4F1DA0 #A0911D #2CA01D
monochromatic
#1C0A38 #35146C #4F1DA0 #6926D4 #8B57E1

Accessibility & contrast

On white

10.42
#4F1DA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F1DA0
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1DA0#FFFFFF#000000##FFFFFF
##4F1DA01.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A4
Deuteranopia (green-blind)
#003D9E
Tritanopia (blue-blind)
#34445F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4f1da0;
/* rgb */ color: rgb(79, 29, 160);
/* oklch */ color: oklch(39.4% 0.190 292.5);
Tailwind
colors: {
  custom: {
    50: '#8960bd',
    500: '#4f1da0',
    950: '#000000',
  },
}
SCSS
$custom: #4f1da0;
$custom-light: #8960bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1da0",
  "rgb": {
    "r": 79,
    "g": 29,
    "b": 160
  },
  "hsl": {
    "h": 262.901,
    "s": 69.312,
    "l": 37.059
  },
  "oklch": {
    "l": 0.3937,
    "c": 0.19036,
    "h": 292.5
  },
  "luminance": 0.05079
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F1DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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