#4A125D#4A125D

#4A125D is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.6% C 0.130 H 315.8°. Best body text is #FFFFFF at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#4A125D
RGBrgb(74, 18, 93)
HSLhsl(285, 68%, 22%)
HSVhsv(285, 81%, 36%)
CMYKcmyk(20.4%, 80.6%, 0%, 63.5%)
CIE-LABlab(18.71, 37.93, -32.18)
CIE-LCHlch(18.71, 49.75, 319.69°)
OKLaboklab(31.61% 0.0934 -0.0907)
OKLCHoklch(31.61% 0.13 315.8)
XYZxyz(5.0158, 2.6790, 10.6067)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A125D #255D12
analogous
#25125D #4A125D #5D124B
triadic
#4A125D #5D4A12 #125D4A
tetradic
#4A125D #5D2512 #255D12 #124B5D
square
#4A125D #5D2512 #255D12 #124B5D
split-complementary
#4A125D #4B5D12 #125D25
monochromatic
#14051A #21082A #4A125D #731C90 #9C26C4

Accessibility & contrast

On white

13.67
#4A125D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#4A125D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A125D
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A125D#FFFFFF#000000##FFFFFF
##4A125D1.0013.671.5413.67
#FFFFFF13.671.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5F
Deuteranopia (green-blind)
#112F5B
Tritanopia (blue-blind)
#492337
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4a125d;
/* rgb */ color: rgb(74, 18, 93);
/* oklch */ color: oklch(31.6% 0.130 315.8);
Tailwind
colors: {
  custom: {
    50: '#80578b',
    500: '#4a125d',
    950: '#000000',
  },
}
SCSS
$custom: #4a125d;
$custom-light: #80578b;
$custom-dark: #000000;
JSON
{
  "hex": "#4a125d",
  "rgb": {
    "r": 74,
    "g": 18,
    "b": 93
  },
  "hsl": {
    "h": 284.8,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31611,
    "c": 0.13016,
    "h": 315.8
  },
  "luminance": 0.02679
}

Semantic roles & 50–950 ramp

primary
#4A125D
secondary
#4E9535
accent
#EA3D69
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #4A125D

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

Preview Lab → · Contrast checker → · Palette generator →

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