#4A0F70#4A0F70

#4A0F70 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.0% C 0.152 H 306.9°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#4A0F70
RGBrgb(74, 15, 112)
HSLhsl(276, 76%, 25%)
HSVhsv(276, 87%, 44%)
CMYKcmyk(33.9%, 86.6%, 0%, 56.1%)
CIE-LABlab(19.91, 43.39, -42.71)
CIE-LCHlch(19.91, 60.88, 315.45°)
OKLaboklab(32.95% 0.0914 -0.1216)
OKLCHoklch(32.95% 0.152 306.9)
XYZxyz(5.9189, 2.9674, 15.5871)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0F70 #35700F
analogous
#1A0F70 #4A0F70 #700F65
triadic
#4A0F70 #704A0F #0F704A
tetradic
#4A0F70 #701A0F #35700F #0F6570
square
#4A0F70 #701A0F #35700F #0F6570
split-complementary
#4A0F70 #65700F #0F701A
monochromatic
#12041B #26083A #4A0F70 #6E16A6 #911DDC

Accessibility & contrast

On white

13.18
#4A0F70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A0F70
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0F70#FFFFFF#000000##FFFFFF
##4A0F701.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E73
Deuteranopia (green-blind)
#00306E
Tritanopia (blue-blind)
#432A41
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4a0f70;
/* rgb */ color: rgb(74, 15, 112);
/* oklch */ color: oklch(33.0% 0.152 306.9);
Tailwind
colors: {
  custom: {
    50: '#81579a',
    500: '#4a0f70',
    950: '#000000',
  },
}
SCSS
$custom: #4a0f70;
$custom-light: #81579a;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0f70",
  "rgb": {
    "r": 74,
    "g": 15,
    "b": 112
  },
  "hsl": {
    "h": 276.495,
    "s": 76.378,
    "l": 24.902
  },
  "oklch": {
    "l": 0.3295,
    "c": 0.15213,
    "h": 306.9
  },
  "luminance": 0.02967
}

Semantic roles & 50–950 ramp

primary
#4A0F70
secondary
#61A833
accent
#F3357F
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B030E
muted
#7C787E

Preview Lab

Preview with #4A0F70

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

Preview Lab → · Contrast checker → · Palette generator →

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