#4F0F68#4F0F68

#4F0F68 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 33.0% C 0.146 H 313.8°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#4F0F68
RGBrgb(79, 15, 104)
HSLhsl(283, 75%, 23%)
HSVhsv(283, 86%, 41%)
CMYKcmyk(24%, 85.6%, 0%, 59.2%)
CIE-LABlab(20.06, 42.48, -37.22)
CIE-LCHlch(20.06, 56.48, 318.77°)
OKLaboklab(33.01% 0.101 -0.1053)
OKLCHoklch(33.01% 0.146 313.8)
XYZxyz(5.8935, 3.0036, 13.3633)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0F68 #28680F
analogous
#220F68 #4F0F68 #680F54
triadic
#4F0F68 #684F0F #0F684F
tetradic
#4F0F68 #68220F #28680F #0F5468
square
#4F0F68 #68220F #28680F #0F5468
split-complementary
#4F0F68 #54680F #0F6822
monochromatic
#14041B #260733 #4F0F68 #78179D #A01ED3

Accessibility & contrast

On white

13.12
#4F0F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#4F0F68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F0F68
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0F68#FFFFFF#000000##FFFFFF
##4F0F681.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6A
Deuteranopia (green-blind)
#043266
Tritanopia (blue-blind)
#4C253C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4f0f68;
/* rgb */ color: rgb(79, 15, 104);
/* oklch */ color: oklch(33.0% 0.146 313.8);
Tailwind
colors: {
  custom: {
    50: '#845794',
    500: '#4f0f68',
    950: '#000000',
  },
}
SCSS
$custom: #4f0f68;
$custom-light: #845794;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0f68",
  "rgb": {
    "r": 79,
    "g": 15,
    "b": 104
  },
  "hsl": {
    "h": 283.146,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.33007,
    "c": 0.1459,
    "h": 313.8
  },
  "luminance": 0.03003
}

Semantic roles & 50–950 ramp

primary
#4F0F68
secondary
#51A132
accent
#F1366B
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B030D
muted
#7C787E

Preview Lab

Preview with #4F0F68

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

Preview Lab → · Contrast checker → · Palette generator →

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