#4F169F#4F169F

#4F169F is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.7% C 0.195 H 293.5°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#4F169F
RGBrgb(79, 22, 159)
HSLhsl(265, 76%, 35%)
HSVhsv(265, 86%, 62%)
CMYKcmyk(50.3%, 86.2%, 0%, 37.6%)
CIE-LABlab(25.98, 53.26, -62.23)
CIE-LCHlch(25.98, 81.91, 310.56°)
OKLaboklab(38.67% 0.0776 -0.1787)
OKLCHoklch(38.67% 0.195 293.5)
XYZxyz(9.7676, 4.7390, 33.1942)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F169F #669F16
analogous
#16219F #4F169F #94169F
triadic
#4F169F #9F4F16 #169F4F
tetradic
#4F169F #9F1621 #669F16 #169F94
square
#4F169F #9F1621 #669F16 #169F94
split-complementary
#4F169F #9F9416 #219F16
monochromatic
#1A0733 #340F69 #4F169F #6A1DD5 #8B4AE6

Accessibility & contrast

On white

10.78
#4F169F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#4F169F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F169F
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F169F#FFFFFF#000000##FFFFFF
##4F169F1.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA3
Deuteranopia (green-blind)
#003B9D
Tritanopia (blue-blind)
#35415E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4f169f;
/* rgb */ color: rgb(79, 22, 159);
/* oklch */ color: oklch(38.7% 0.195 293.5);
Tailwind
colors: {
  custom: {
    50: '#8a5dbd',
    500: '#4f169f',
    950: '#000000',
  },
}
SCSS
$custom: #4f169f;
$custom-light: #8a5dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#4f169f",
  "rgb": {
    "r": 79,
    "g": 22,
    "b": 159
  },
  "hsl": {
    "h": 264.964,
    "s": 75.691,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38666,
    "c": 0.19484,
    "h": 293.5
  },
  "luminance": 0.04739
}

Semantic roles & 50–950 ramp

primary
#4F169F
secondary
#93C74A
accent
#F236A4
background
#F9F5FB
surface
#F1E9F7
border
#CBC5D0
text
#0D0512
muted
#7E7981

Preview Lab

Preview with #4F169F

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

Preview Lab → · Contrast checker → · Palette generator →

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