#4A0F6D#4A0F6D

#4A0F6D is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.7% C 0.149 H 308.2°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#4A0F6D
RGBrgb(74, 15, 109)
HSLhsl(278, 76%, 24%)
HSVhsv(278, 86%, 43%)
CMYKcmyk(32.1%, 86.2%, 0%, 57.3%)
CIE-LABlab(19.65, 42.69, -41.19)
CIE-LCHlch(19.65, 59.32, 316.02°)
OKLaboklab(32.68% 0.0923 -0.1172)
OKLCHoklch(32.68% 0.149 308.2)
XYZxyz(5.7546, 2.9017, 14.7220)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0F6D #326D0F
analogous
#1B0F6D #4A0F6D #6D0F61
triadic
#4A0F6D #6D4A0F #0F6D4A
tetradic
#4A0F6D #6D1B0F #326D0F #0F616D
square
#4A0F6D #6D1B0F #326D0F #0F616D
split-complementary
#4A0F6D #616D0F #0F6D1B
monochromatic
#12041B #250837 #4A0F6D #6F16A3 #931ED9

Accessibility & contrast

On white

13.29
#4A0F6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#4A0F6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A0F6D
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0F6D#FFFFFF#000000##FFFFFF
##4A0F6D1.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6F
Deuteranopia (green-blind)
#00306B
Tritanopia (blue-blind)
#44283F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4a0f6d;
/* rgb */ color: rgb(74, 15, 109);
/* oklch */ color: oklch(32.7% 0.149 308.2);
Tailwind
colors: {
  custom: {
    50: '#815798',
    500: '#4a0f6d',
    950: '#000000',
  },
}
SCSS
$custom: #4a0f6d;
$custom-light: #815798;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0f6d",
  "rgb": {
    "r": 74,
    "g": 15,
    "b": 109
  },
  "hsl": {
    "h": 277.66,
    "s": 75.806,
    "l": 24.314
  },
  "oklch": {
    "l": 0.32682,
    "c": 0.14917,
    "h": 308.2
  },
  "luminance": 0.02902
}

Semantic roles & 50–950 ramp

primary
#4A0F6D
secondary
#5DA533
accent
#F2357C
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B030E
muted
#7C787E

Preview Lab

Preview with #4A0F6D

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

Preview Lab → · Contrast checker → · Palette generator →

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