#4A1250#4A1250

#4A1250 is a dark, moderate purple. Relative luminance 0.025; OKLCH L 30.6% C 0.117 H 323.7°. Best body text is #FFFFFF at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#4A1250
RGBrgb(74, 18, 80)
HSLhsl(294, 63%, 19%)
HSVhsv(294, 78%, 31%)
CMYKcmyk(7.5%, 77.5%, 0%, 68.6%)
CIE-LABlab(17.77, 35.15, -24.93)
CIE-LCHlch(17.77, 43.10, 324.65°)
OKLaboklab(30.65% 0.0946 -0.0695)
OKLCHoklch(30.65% 0.117 323.7)
XYZxyz(4.4882, 2.4679, 7.8278)
Luminance0.0247 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1250 #185012
analogous
#2B1250 #4A1250 #501237
triadic
#4A1250 #504A12 #12504A
tetradic
#4A1250 #502B12 #185012 #123750
square
#4A1250 #502B12 #185012 #123750
split-complementary
#4A1250 #375012 #12502B
monochromatic
#170619 #1C071E #4A1250 #781D82 #A628B4

Accessibility & contrast

On white

14.06
#4A1250 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#4A1250 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1250
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1250#FFFFFF#000000##FFFFFF
##4A12501.0014.061.4914.06
#FFFFFF14.061.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012752
Deuteranopia (green-blind)
#1D2E4E
Tritanopia (blue-blind)
#4B1D2F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4a1250;
/* rgb */ color: rgb(74, 18, 80);
/* oklch */ color: oklch(30.6% 0.117 323.7);
Tailwind
colors: {
  custom: {
    50: '#7f5681',
    500: '#4a1250',
    950: '#000000',
  },
}
SCSS
$custom: #4a1250;
$custom-light: #7f5681;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1250",
  "rgb": {
    "r": 74,
    "g": 18,
    "b": 80
  },
  "hsl": {
    "h": 294.194,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.30645,
    "c": 0.1174,
    "h": 323.7
  },
  "luminance": 0.02468
}

Semantic roles & 50–950 ramp

primary
#4A1250
secondary
#3D8935
accent
#E64151
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4A1250

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

Preview Lab → · Contrast checker → · Palette generator →

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