#4C0F70#4C0F70

#4C0F70 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.2% C 0.153 H 308.2°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#4C0F70
RGBrgb(76, 15, 112)
HSLhsl(278, 76%, 25%)
HSVhsv(278, 87%, 44%)
CMYKcmyk(32.1%, 86.6%, 0%, 56.1%)
CIE-LABlab(20.24, 43.73, -42.17)
CIE-LCHlch(20.24, 60.75, 316.04°)
OKLaboklab(33.24% 0.0944 -0.1199)
OKLCHoklch(33.24% 0.153 308.2)
XYZxyz(6.0753, 3.0481, 15.5944)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0F70 #33700F
analogous
#1C0F70 #4C0F70 #700F64
triadic
#4C0F70 #704C0F #0F704C
tetradic
#4C0F70 #701C0F #33700F #0F6470
square
#4C0F70 #701C0F #33700F #0F6470
split-complementary
#4C0F70 #64700F #0F701C
monochromatic
#12041B #27083A #4C0F70 #7116A6 #951DDC

Accessibility & contrast

On white

13.05
#4C0F70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#4C0F70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C0F70
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0F70#FFFFFF#000000##FFFFFF
##4C0F701.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F73
Deuteranopia (green-blind)
#00316E
Tritanopia (blue-blind)
#462A41
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4c0f70;
/* rgb */ color: rgb(76, 15, 112);
/* oklch */ color: oklch(33.2% 0.153 308.2);
Tailwind
colors: {
  custom: {
    50: '#83579a',
    500: '#4c0f70',
    950: '#000000',
  },
}
SCSS
$custom: #4c0f70;
$custom-light: #83579a;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0f70",
  "rgb": {
    "r": 76,
    "g": 15,
    "b": 112
  },
  "hsl": {
    "h": 277.732,
    "s": 76.378,
    "l": 24.902
  },
  "oklch": {
    "l": 0.3324,
    "c": 0.15266,
    "h": 308.2
  },
  "luminance": 0.03048
}

Semantic roles & 50–950 ramp

primary
#4C0F70
secondary
#5EA833
accent
#F3357B
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4C0F70

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

Preview Lab → · Contrast checker → · Palette generator →

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