#4F1CA1#4F1CA1

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

Color values

HEX#4F1CA1
RGBrgb(79, 28, 161)
HSLhsl(263, 70%, 37%)
HSVhsv(263, 83%, 63%)
CMYKcmyk(50.9%, 82.6%, 0%, 36.9%)
CIE-LABlab(26.92, 51.60, -61.90)
CIE-LCHlch(26.92, 80.58, 309.81°)
OKLaboklab(39.38% 0.0732 -0.1778)
OKLCHoklch(39.38% 0.192 292.4)
XYZxyz(10.0709, 5.0656, 34.1584)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1CA1 #6EA11C
analogous
#1C2BA1 #4F1CA1 #921CA1
triadic
#4F1CA1 #A14F1C #1CA14F
tetradic
#4F1CA1 #A11C2B #6EA11C #1CA192
square
#4F1CA1 #A11C2B #6EA11C #1CA192
split-complementary
#4F1CA1 #A1921C #2BA11C
monochromatic
#1C0A39 #35136D #4F1CA1 #6925D5 #8B56E2

Accessibility & contrast

On white

10.43
#4F1CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F1CA1
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1CA1#FFFFFF#000000##FFFFFF
##4F1CA11.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f1ca1;
/* rgb */ color: rgb(79, 28, 161);
/* oklch */ color: oklch(39.4% 0.192 292.4);
Tailwind
colors: {
  custom: {
    50: '#8a60be',
    500: '#4f1ca1',
    950: '#000000',
  },
}
SCSS
$custom: #4f1ca1;
$custom-light: #8a60be;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1ca1",
  "rgb": {
    "r": 79,
    "g": 28,
    "b": 161
  },
  "hsl": {
    "h": 263.008,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39375,
    "c": 0.19228,
    "h": 292.4
  },
  "luminance": 0.05066
}

Semantic roles & 50–950 ramp

primary
#4F1CA1
secondary
#9AC554
accent
#ED3BA9
background
#F9F5FB
surface
#F1EAF7
border
#CBC6D0
text
#0D0512
muted
#7E7981

Preview Lab

Preview with #4F1CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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