#4F1965#4F1965

#4F1965 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.7% C 0.131 H 314.2°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#4F1965
RGBrgb(79, 25, 101)
HSLhsl(283, 60%, 25%)
HSVhsv(283, 75%, 40%)
CMYKcmyk(21.8%, 75.2%, 0%, 60.4%)
CIE-LABlab(21.20, 37.87, -33.42)
CIE-LCHlch(21.20, 50.51, 318.58°)
OKLaboklab(33.74% 0.0917 -0.0942)
OKLCHoklch(33.74% 0.131 314.2)
XYZxyz(5.9206, 3.2973, 12.6340)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1965 #2F6519
analogous
#291965 #4F1965 #651955
triadic
#4F1965 #654F19 #19654F
tetradic
#4F1965 #652919 #2F6519 #195565
square
#4F1965 #652919 #2F6519 #195565
split-complementary
#4F1965 #556519 #196529
monochromatic
#130619 #290D34 #4F1965 #752596 #9C31C7

Accessibility & contrast

On white

12.66
#4F1965 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#4F1965 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1965
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1965#FFFFFF#000000##FFFFFF
##4F19651.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003067
Deuteranopia (green-blind)
#153463
Tritanopia (blue-blind)
#4D293D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4f1965;
/* rgb */ color: rgb(79, 25, 101);
/* oklch */ color: oklch(33.7% 0.131 314.2);
Tailwind
colors: {
  custom: {
    50: '#835b91',
    500: '#4f1965',
    950: '#000000',
  },
}
SCSS
$custom: #4f1965;
$custom-light: #835b91;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1965",
  "rgb": {
    "r": 79,
    "g": 25,
    "b": 101
  },
  "hsl": {
    "h": 282.632,
    "s": 60.317,
    "l": 24.706
  },
  "oklch": {
    "l": 0.33738,
    "c": 0.13149,
    "h": 314.2
  },
  "luminance": 0.03297
}

Semantic roles & 50–950 ramp

primary
#4F1965
secondary
#5A9B3F
accent
#E34472
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4F1965

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

Preview Lab → · Contrast checker → · Palette generator →

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