#4A1265#4A1265

#4A1265 is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.3% C 0.138 H 311.7°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#4A1265
RGBrgb(74, 18, 101)
HSLhsl(280, 70%, 23%)
HSVhsv(280, 82%, 40%)
CMYKcmyk(26.7%, 82.2%, 0%, 60.4%)
CIE-LABlab(19.34, 39.75, -36.45)
CIE-LCHlch(19.34, 53.93, 317.47°)
OKLaboklab(32.26% 0.0919 -0.1032)
OKLCHoklch(32.26% 0.138 311.7)
XYZxyz(5.3889, 2.8282, 12.5714)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1265 #2D6512
analogous
#201265 #4A1265 #651256
triadic
#4A1265 #654A12 #12654A
tetradic
#4A1265 #652012 #2D6512 #125665
square
#4A1265 #652012 #2D6512 #125665
split-complementary
#4A1265 #566512 #126520
monochromatic
#13051A #240931 #4A1265 #701B99 #9625CD

Accessibility & contrast

On white

13.41
#4A1265 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#4A1265 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1265
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1265#FFFFFF#000000##FFFFFF
##4A12651.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C67
Deuteranopia (green-blind)
#023063
Tritanopia (blue-blind)
#47263B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4a1265;
/* rgb */ color: rgb(74, 18, 101);
/* oklch */ color: oklch(32.3% 0.138 311.7);
Tailwind
colors: {
  custom: {
    50: '#805791',
    500: '#4a1265',
    950: '#000000',
  },
}
SCSS
$custom: #4a1265;
$custom-light: #805791;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1265",
  "rgb": {
    "r": 74,
    "g": 18,
    "b": 101
  },
  "hsl": {
    "h": 280.482,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.32257,
    "c": 0.13819,
    "h": 311.7
  },
  "luminance": 0.02828
}

Semantic roles & 50–950 ramp

primary
#4A1265
secondary
#579D36
accent
#ED3B75
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B030D
muted
#7C787E

Preview Lab

Preview with #4A1265

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

Preview Lab → · Contrast checker → · Palette generator →

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