#4F1765#4F1765

#4F1765 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.5% C 0.134 H 314.5°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#4F1765
RGBrgb(79, 23, 101)
HSLhsl(283, 63%, 24%)
HSVhsv(283, 77%, 40%)
CMYKcmyk(21.8%, 77.2%, 0%, 60.4%)
CIE-LABlab(20.88, 38.76, -33.92)
CIE-LCHlch(20.88, 51.51, 318.81°)
OKLaboklab(33.52% 0.094 -0.0957)
OKLCHoklch(33.52% 0.134 314.5)
XYZxyz(5.8794, 3.2148, 12.6202)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1765 #2D6517
analogous
#281765 #4F1765 #651754
triadic
#4F1765 #654F17 #17654F
tetradic
#4F1765 #652817 #2D6517 #175465
square
#4F1765 #652817 #2D6517 #175465
split-complementary
#4F1765 #546517 #176528
monochromatic
#130619 #280C33 #4F1765 #762297 #9D2EC9

Accessibility & contrast

On white

12.78
#4F1765 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#4F1765 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1765
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1765#FFFFFF#000000##FFFFFF
##4F17651.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F67
Deuteranopia (green-blind)
#133463
Tritanopia (blue-blind)
#4D283C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4f1765;
/* rgb */ color: rgb(79, 23, 101);
/* oklch */ color: oklch(33.5% 0.134 314.5);
Tailwind
colors: {
  custom: {
    50: '#835a91',
    500: '#4f1765',
    950: '#000000',
  },
}
SCSS
$custom: #4f1765;
$custom-light: #835a91;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1765",
  "rgb": {
    "r": 79,
    "g": 23,
    "b": 101
  },
  "hsl": {
    "h": 283.077,
    "s": 62.903,
    "l": 24.314
  },
  "oklch": {
    "l": 0.33515,
    "c": 0.13409,
    "h": 314.5
  },
  "luminance": 0.03215
}

Semantic roles & 50–950 ramp

primary
#4F1765
secondary
#579B3C
accent
#E64270
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4F1765

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

Preview Lab → · Contrast checker → · Palette generator →

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