#4A1269#4A1269

#4A1269 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.6% C 0.142 H 309.7°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#4A1269
RGBrgb(74, 18, 105)
HSLhsl(279, 71%, 24%)
HSVhsv(279, 83%, 41%)
CMYKcmyk(29.5%, 82.9%, 0%, 58.8%)
CIE-LABlab(19.67, 40.67, -38.54)
CIE-LCHlch(19.67, 56.03, 316.54°)
OKLaboklab(32.59% 0.0909 -0.1094)
OKLCHoklch(32.59% 0.142 309.7)
XYZxyz(5.5896, 2.9085, 13.6288)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1269 #316912
analogous
#1F1269 #4A1269 #69125D
triadic
#4A1269 #694A12 #12694A
tetradic
#4A1269 #691F12 #316912 #125D69
square
#4A1269 #691F12 #316912 #125D69
split-complementary
#4A1269 #5D6912 #12691F
monochromatic
#12041A #250935 #4A1269 #6F1B9D #9424D1

Accessibility & contrast

On white

13.28
#4A1269 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A1269
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1269#FFFFFF#000000##FFFFFF
##4A12691.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6B
Deuteranopia (green-blind)
#003067
Tritanopia (blue-blind)
#45283E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4a1269;
/* rgb */ color: rgb(74, 18, 105);
/* oklch */ color: oklch(32.6% 0.142 309.7);
Tailwind
colors: {
  custom: {
    50: '#805895',
    500: '#4a1269',
    950: '#000000',
  },
}
SCSS
$custom: #4a1269;
$custom-light: #805895;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1269",
  "rgb": {
    "r": 74,
    "g": 18,
    "b": 105
  },
  "hsl": {
    "h": 278.621,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.32594,
    "c": 0.14223,
    "h": 309.7
  },
  "luminance": 0.02908
}

Semantic roles & 50–950 ramp

primary
#4A1269
secondary
#5CA136
accent
#ED3A7A
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B030D
muted
#7C787E

Preview Lab

Preview with #4A1269

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

Preview Lab → · Contrast checker → · Palette generator →

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