#4F1673#4F1673

#4F1673 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.5% C 0.150 H 308.1°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#4F1673
RGBrgb(79, 22, 115)
HSLhsl(277, 68%, 27%)
HSVhsv(277, 81%, 45%)
CMYKcmyk(31.3%, 80.9%, 0%, 54.9%)
CIE-LABlab(21.85, 42.42, -41.45)
CIE-LCHlch(21.85, 59.31, 315.66°)
OKLaboklab(34.55% 0.0923 -0.1178)
OKLCHoklch(34.55% 0.15 308.1)
XYZxyz(6.6052, 3.4740, 16.5389)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1673 #3A7316
analogous
#211673 #4F1673 #731669
triadic
#4F1673 #734F16 #16734F
tetradic
#4F1673 #732116 #3A7316 #166973
square
#4F1673 #732116 #3A7316 #166973
split-complementary
#4F1673 #697316 #167321
monochromatic
#12051A #2C0C40 #4F1673 #7220A6 #952DD7

Accessibility & contrast

On white

12.39
#4F1673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#4F1673 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1673
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1673#FFFFFF#000000##FFFFFF
##4F16731.0012.391.6912.39
#FFFFFF12.391.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003276
Deuteranopia (green-blind)
#003571
Tritanopia (blue-blind)
#492D44
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4f1673;
/* rgb */ color: rgb(79, 22, 115);
/* oklch */ color: oklch(34.5% 0.150 308.1);
Tailwind
colors: {
  custom: {
    50: '#855b9c',
    500: '#4f1673',
    950: '#000000',
  },
}
SCSS
$custom: #4f1673;
$custom-light: #855b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1673",
  "rgb": {
    "r": 79,
    "g": 22,
    "b": 115
  },
  "hsl": {
    "h": 276.774,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.34547,
    "c": 0.14963,
    "h": 308.1
  },
  "luminance": 0.03474
}

Semantic roles & 50–950 ramp

primary
#4F1673
secondary
#66A93C
accent
#EB3D80
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4F1673

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

Preview Lab → · Contrast checker → · Palette generator →

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