#4A0F6A#4A0F6A

#4A0F6A is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.4% C 0.146 H 309.6°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#4A0F6A
RGBrgb(74, 15, 106)
HSLhsl(279, 75%, 24%)
HSVhsv(279, 86%, 42%)
CMYKcmyk(30.2%, 85.8%, 0%, 58.4%)
CIE-LABlab(19.38, 42.00, -39.66)
CIE-LCHlch(19.38, 57.77, 316.64°)
OKLaboklab(32.42% 0.0932 -0.1127)
OKLCHoklch(32.42% 0.146 309.6)
XYZxyz(5.5959, 2.8382, 13.8859)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0F6A #2F6A0F
analogous
#1C0F6A #4A0F6A #6A0F5C
triadic
#4A0F6A #6A4A0F #0F6A4A
tetradic
#4A0F6A #6A1C0F #2F6A0F #0F5C6A
square
#4A0F6A #6A1C0F #2F6A0F #0F5C6A
split-complementary
#4A0F6A #5C6A0F #0F6A1C
monochromatic
#13041B #250734 #4A0F6A #6F17A0 #951ED5

Accessibility & contrast

On white

13.40
#4A0F6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A0F6A
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0F6A#FFFFFF#000000##FFFFFF
##4A0F6A1.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6C
Deuteranopia (green-blind)
#003068
Tritanopia (blue-blind)
#45273E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4a0f6a;
/* rgb */ color: rgb(74, 15, 106);
/* oklch */ color: oklch(32.4% 0.146 309.6);
Tailwind
colors: {
  custom: {
    50: '#815695',
    500: '#4a0f6a',
    950: '#000000',
  },
}
SCSS
$custom: #4a0f6a;
$custom-light: #815695;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0f6a",
  "rgb": {
    "r": 74,
    "g": 15,
    "b": 106
  },
  "hsl": {
    "h": 278.901,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.32418,
    "c": 0.14621,
    "h": 309.6
  },
  "luminance": 0.02838
}

Semantic roles & 50–950 ramp

primary
#4A0F6A
secondary
#5AA232
accent
#F23678
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B030D
muted
#7C787E

Preview Lab

Preview with #4A0F6A

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

Preview Lab → · Contrast checker → · Palette generator →

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