#4A0F68#4A0F68

#4A0F68 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.2% C 0.144 H 310.5°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#4A0F68
RGBrgb(74, 15, 104)
HSLhsl(280, 75%, 23%)
HSVhsv(280, 86%, 41%)
CMYKcmyk(28.8%, 85.6%, 0%, 59.2%)
CIE-LABlab(19.21, 41.54, -38.63)
CIE-LCHlch(19.21, 56.73, 317.07°)
OKLaboklab(32.24% 0.0937 -0.1096)
OKLCHoklch(32.24% 0.144 310.5)
XYZxyz(5.4931, 2.7971, 13.3445)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0F68 #2D680F
analogous
#1D0F68 #4A0F68 #680F59
triadic
#4A0F68 #684A0F #0F684A
tetradic
#4A0F68 #681D0F #2D680F #0F5968
square
#4A0F68 #681D0F #2D680F #0F5968
split-complementary
#4A0F68 #59680F #0F681D
monochromatic
#13041B #240733 #4A0F68 #70179D #961ED3

Accessibility & contrast

On white

13.47
#4A0F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#4A0F68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A0F68
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0F68#FFFFFF#000000##FFFFFF
##4A0F681.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6A
Deuteranopia (green-blind)
#002F66
Tritanopia (blue-blind)
#46263C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4a0f68;
/* rgb */ color: rgb(74, 15, 104);
/* oklch */ color: oklch(32.2% 0.144 310.5);
Tailwind
colors: {
  custom: {
    50: '#815694',
    500: '#4a0f68',
    950: '#000000',
  },
}
SCSS
$custom: #4a0f68;
$custom-light: #815694;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0f68",
  "rgb": {
    "r": 74,
    "g": 15,
    "b": 104
  },
  "hsl": {
    "h": 279.775,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.32244,
    "c": 0.14425,
    "h": 310.5
  },
  "luminance": 0.02797
}

Semantic roles & 50–950 ramp

primary
#4A0F68
secondary
#57A132
accent
#F13675
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B030D
muted
#7C787E

Preview Lab

Preview with #4A0F68

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

Preview Lab → · Contrast checker → · Palette generator →

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