#4A0F6E#4A0F6E

#4A0F6E is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.8% C 0.150 H 307.8°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#4A0F6E
RGBrgb(74, 15, 110)
HSLhsl(277, 76%, 25%)
HSVhsv(277, 86%, 43%)
CMYKcmyk(32.7%, 86.4%, 0%, 56.9%)
CIE-LABlab(19.73, 42.92, -41.70)
CIE-LCHlch(19.73, 59.84, 315.83°)
OKLaboklab(32.77% 0.092 -0.1186)
OKLCHoklch(32.77% 0.15 307.8)
XYZxyz(5.8087, 2.9234, 15.0071)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0F6E #336E0F
analogous
#1A0F6E #4A0F6E #6E0F63
triadic
#4A0F6E #6E4A0F #0F6E4A
tetradic
#4A0F6E #6E1A0F #336E0F #0F636E
square
#4A0F6E #6E1A0F #336E0F #0F636E
split-complementary
#4A0F6E #636E0F #0F6E1A
monochromatic
#12041B #260838 #4A0F6E #6E16A4 #921EDA

Accessibility & contrast

On white

13.25
#4A0F6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A0F6E
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0F6E#FFFFFF#000000##FFFFFF
##4A0F6E1.0013.251.5813.25
#FFFFFF13.251.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E70
Deuteranopia (green-blind)
#00306C
Tritanopia (blue-blind)
#442940
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4a0f6e;
/* rgb */ color: rgb(74, 15, 110);
/* oklch */ color: oklch(32.8% 0.150 307.8);
Tailwind
colors: {
  custom: {
    50: '#815798',
    500: '#4a0f6e',
    950: '#000000',
  },
}
SCSS
$custom: #4a0f6e;
$custom-light: #815798;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0f6e",
  "rgb": {
    "r": 74,
    "g": 15,
    "b": 110
  },
  "hsl": {
    "h": 277.263,
    "s": 76,
    "l": 24.51
  },
  "oklch": {
    "l": 0.32771,
    "c": 0.15016,
    "h": 307.8
  },
  "luminance": 0.02923
}

Semantic roles & 50–950 ramp

primary
#4A0F6E
secondary
#5EA633
accent
#F3357D
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B030E
muted
#7C787E

Preview Lab

Preview with #4A0F6E

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

Preview Lab → · Contrast checker → · Palette generator →

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