#4F0F65#4F0F65

#4F0F65 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.8% C 0.143 H 315.3°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#4F0F65
RGBrgb(79, 15, 101)
HSLhsl(285, 74%, 23%)
HSVhsv(285, 85%, 40%)
CMYKcmyk(21.8%, 85.1%, 0%, 60.4%)
CIE-LABlab(19.82, 41.83, -35.64)
CIE-LCHlch(19.82, 54.96, 319.56°)
OKLaboklab(32.76% 0.1017 -0.1007)
OKLCHoklch(32.76% 0.143 315.3)
XYZxyz(5.7439, 2.9437, 12.5750)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0F65 #25650F
analogous
#240F65 #4F0F65 #650F50
triadic
#4F0F65 #654F0F #0F654F
tetradic
#4F0F65 #65240F #25650F #0F5065
square
#4F0F65 #65240F #25650F #0F5065
split-complementary
#4F0F65 #50650F #0F6524
monochromatic
#15041B #250730 #4F0F65 #79179A #A21FD0

Accessibility & contrast

On white

13.22
#4F0F65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#4F0F65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F0F65
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0F65#FFFFFF#000000##FFFFFF
##4F0F651.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C67
Deuteranopia (green-blind)
#0A3163
Tritanopia (blue-blind)
#4D243B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4f0f65;
/* rgb */ color: rgb(79, 15, 101);
/* oklch */ color: oklch(32.8% 0.143 315.3);
Tailwind
colors: {
  custom: {
    50: '#845791',
    500: '#4f0f65',
    950: '#000000',
  },
}
SCSS
$custom: #4f0f65;
$custom-light: #845791;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0f65",
  "rgb": {
    "r": 79,
    "g": 15,
    "b": 101
  },
  "hsl": {
    "h": 284.651,
    "s": 74.138,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32762,
    "c": 0.14307,
    "h": 315.3
  },
  "luminance": 0.02943
}

Semantic roles & 50–950 ramp

primary
#4F0F65
secondary
#4E9E32
accent
#F13767
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B030D
muted
#7C787E

Preview Lab

Preview with #4F0F65

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

Preview Lab → · Contrast checker → · Palette generator →

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