#4A1083#4A1083

#4A1083 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.8% C 0.170 H 299.6°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#4A1083
RGBrgb(74, 16, 131)
HSLhsl(270, 78%, 29%)
HSVhsv(270, 88%, 51%)
CMYKcmyk(43.5%, 87.8%, 0%, 48.6%)
CIE-LABlab(21.82, 47.62, -51.73)
CIE-LCHlch(21.82, 70.31, 312.63°)
OKLaboklab(34.82% 0.084 -0.1481)
OKLCHoklch(34.82% 0.17 299.6)
XYZxyz(7.1050, 3.4650, 21.7628)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1083 #498310
analogous
#111083 #4A1083 #831083
triadic
#4A1083 #834A10 #10834A
tetradic
#4A1083 #831110 #498310 #108383
square
#4A1083 #831110 #498310 #108383
split-complementary
#4A1083 #838310 #108311
monochromatic
#0F031B #2B094C #4A1083 #6917BA #8829E5

Accessibility & contrast

On white

12.40
#4A1083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#4A1083 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1083
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1083#FFFFFF#000000##FFFFFF
##4A10831.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003486
Deuteranopia (green-blind)
#003381
Tritanopia (blue-blind)
#3C334C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4a1083;
/* rgb */ color: rgb(74, 16, 131);
/* oklch */ color: oklch(34.8% 0.170 299.6);
Tailwind
colors: {
  custom: {
    50: '#8358a8',
    500: '#4a1083',
    950: '#000000',
  },
}
SCSS
$custom: #4a1083;
$custom-light: #8358a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1083",
  "rgb": {
    "r": 74,
    "g": 16,
    "b": 131
  },
  "hsl": {
    "h": 270.261,
    "s": 78.231,
    "l": 28.824
  },
  "oklch": {
    "l": 0.34815,
    "c": 0.17026,
    "h": 299.6
  },
  "luminance": 0.03465
}

Semantic roles & 50–950 ramp

primary
#4A1083
secondary
#77B936
accent
#F53393
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #4A1083

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

Preview Lab → · Contrast checker → · Palette generator →

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