#4F1CA0#4F1CA0

#4F1CA0 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.3% C 0.191 H 292.6°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#4F1CA0
RGBrgb(79, 28, 160)
HSLhsl(263, 70%, 37%)
HSVhsv(263, 83%, 63%)
CMYKcmyk(50.6%, 82.5%, 0%, 37.3%)
CIE-LABlab(26.82, 51.33, -61.45)
CIE-LCHlch(26.82, 80.07, 309.87°)
OKLaboklab(39.28% 0.0735 -0.1765)
OKLCHoklch(39.28% 0.191 292.6)
XYZxyz(9.9831, 5.0305, 33.6959)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1CA0 #6DA01C
analogous
#1C2BA0 #4F1CA0 #911CA0
triadic
#4F1CA0 #A04F1C #1CA04F
tetradic
#4F1CA0 #A01C2B #6DA01C #1CA091
square
#4F1CA0 #A01C2B #6DA01C #1CA091
split-complementary
#4F1CA0 #A0911C #2BA01C
monochromatic
#1C0A38 #35136C #4F1CA0 #6925D4 #8B55E1

Accessibility & contrast

On white

10.47
#4F1CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#4F1CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1CA0
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1CA0#FFFFFF#000000##FFFFFF
##4F1CA01.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A4
Deuteranopia (green-blind)
#003D9E
Tritanopia (blue-blind)
#34435F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4f1ca0;
/* rgb */ color: rgb(79, 28, 160);
/* oklch */ color: oklch(39.3% 0.191 292.6);
Tailwind
colors: {
  custom: {
    50: '#8a60bd',
    500: '#4f1ca0',
    950: '#000000',
  },
}
SCSS
$custom: #4f1ca0;
$custom-light: #8a60bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1ca0",
  "rgb": {
    "r": 79,
    "g": 28,
    "b": 160
  },
  "hsl": {
    "h": 263.182,
    "s": 70.213,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39276,
    "c": 0.19122,
    "h": 292.6
  },
  "luminance": 0.05031
}

Semantic roles & 50–950 ramp

primary
#4F1CA0
secondary
#99C453
accent
#ED3BA8
background
#F9F5FB
surface
#F1EAF7
border
#CBC6D0
text
#0D0512
muted
#7E7981

Preview Lab

Preview with #4F1CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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