#4F1865#4F1865

#4F1865 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.6% C 0.133 H 314.4°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#4F1865
RGBrgb(79, 24, 101)
HSLhsl(283, 62%, 25%)
HSVhsv(283, 76%, 40%)
CMYKcmyk(21.8%, 76.2%, 0%, 60.4%)
CIE-LABlab(21.04, 38.32, -33.67)
CIE-LCHlch(21.04, 51.01, 318.70°)
OKLaboklab(33.63% 0.0929 -0.0949)
OKLCHoklch(33.63% 0.133 314.4)
XYZxyz(5.8997, 3.2553, 12.6270)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1865 #2E6518
analogous
#291865 #4F1865 #651855
triadic
#4F1865 #654F18 #18654F
tetradic
#4F1865 #652918 #2E6518 #185565
square
#4F1865 #652918 #2E6518 #185565
split-complementary
#4F1865 #556518 #186529
monochromatic
#130619 #280C34 #4F1865 #762496 #9C30C8

Accessibility & contrast

On white

12.72
#4F1865 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#4F1865 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1865
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1865#FFFFFF#000000##FFFFFF
##4F18651.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f1865;
/* rgb */ color: rgb(79, 24, 101);
/* oklch */ color: oklch(33.6% 0.133 314.4);
Tailwind
colors: {
  custom: {
    50: '#835b91',
    500: '#4f1865',
    950: '#000000',
  },
}
SCSS
$custom: #4f1865;
$custom-light: #835b91;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1865",
  "rgb": {
    "r": 79,
    "g": 24,
    "b": 101
  },
  "hsl": {
    "h": 282.857,
    "s": 61.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.33625,
    "c": 0.13281,
    "h": 314.4
  },
  "luminance": 0.03255
}

Semantic roles & 50–950 ramp

primary
#4F1865
secondary
#589B3E
accent
#E54371
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4F1865

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

Preview Lab → · Contrast checker → · Palette generator →

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