#4C0F67#4C0F67

#4C0F67 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.5% C 0.144 H 312.3°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#4C0F67
RGBrgb(76, 15, 103)
HSLhsl(282, 75%, 23%)
HSVhsv(282, 85%, 40%)
CMYKcmyk(26.2%, 85.4%, 0%, 59.6%)
CIE-LABlab(19.46, 41.68, -37.55)
CIE-LCHlch(19.46, 56.11, 317.98°)
OKLaboklab(32.46% 0.0969 -0.1064)
OKLCHoklch(32.46% 0.144 312.3)
XYZxyz(5.5990, 2.8576, 13.0860)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0F67 #2A670F
analogous
#200F67 #4C0F67 #670F56
triadic
#4C0F67 #674C0F #0F674C
tetradic
#4C0F67 #67200F #2A670F #0F5667
square
#4C0F67 #67200F #2A670F #0F5667
split-complementary
#4C0F67 #56670F #0F6720
monochromatic
#14041B #250732 #4C0F67 #73179C #9B1FD2

Accessibility & contrast

On white

13.36
#4C0F67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#4C0F67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C0F67
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0F67#FFFFFF#000000##FFFFFF
##4C0F671.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C69
Deuteranopia (green-blind)
#003065
Tritanopia (blue-blind)
#49253C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4c0f67;
/* rgb */ color: rgb(76, 15, 103);
/* oklch */ color: oklch(32.5% 0.144 312.3);
Tailwind
colors: {
  custom: {
    50: '#825793',
    500: '#4c0f67',
    950: '#000000',
  },
}
SCSS
$custom: #4c0f67;
$custom-light: #825793;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0f67",
  "rgb": {
    "r": 76,
    "g": 15,
    "b": 103
  },
  "hsl": {
    "h": 281.591,
    "s": 74.576,
    "l": 23.137
  },
  "oklch": {
    "l": 0.32462,
    "c": 0.14392,
    "h": 312.3
  },
  "luminance": 0.02857
}

Semantic roles & 50–950 ramp

primary
#4C0F67
secondary
#54A032
accent
#F13770
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B030D
muted
#7C787E

Preview Lab

Preview with #4C0F67

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

Preview Lab → · Contrast checker → · Palette generator →

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