#4A1068#4A1068

#4A1068 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.3% C 0.143 H 310.4°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#4A1068
RGBrgb(74, 16, 104)
HSLhsl(280, 73%, 24%)
HSVhsv(280, 85%, 41%)
CMYKcmyk(28.8%, 84.6%, 0%, 59.2%)
CIE-LABlab(19.33, 41.18, -38.44)
CIE-LCHlch(19.33, 56.33, 316.98°)
OKLaboklab(32.33% 0.0929 -0.1091)
OKLCHoklch(32.33% 0.143 310.4)
XYZxyz(5.5075, 2.8260, 13.3494)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1068 #2E6810
analogous
#1E1068 #4A1068 #68105A
triadic
#4A1068 #684A10 #10684A
tetradic
#4A1068 #681E10 #2E6810 #105A68
square
#4A1068 #681E10 #2E6810 #105A68
split-complementary
#4A1068 #5A6810 #10681E
monochromatic
#13041B #240833 #4A1068 #70189D #9520D2

Accessibility & contrast

On white

13.42
#4A1068 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A1068
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1068#FFFFFF#000000##FFFFFF
##4A10681.0013.421.5713.42
#FFFFFF13.421.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6A
Deuteranopia (green-blind)
#003066
Tritanopia (blue-blind)
#46273D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4a1068;
/* rgb */ color: rgb(74, 16, 104);
/* oklch */ color: oklch(32.3% 0.143 310.4);
Tailwind
colors: {
  custom: {
    50: '#815794',
    500: '#4a1068',
    950: '#000000',
  },
}
SCSS
$custom: #4a1068;
$custom-light: #815794;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1068",
  "rgb": {
    "r": 74,
    "g": 16,
    "b": 104
  },
  "hsl": {
    "h": 279.545,
    "s": 73.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.32329,
    "c": 0.14328,
    "h": 310.4
  },
  "luminance": 0.02826
}

Semantic roles & 50–950 ramp

primary
#4A1068
secondary
#59A034
accent
#F03877
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B030D
muted
#7C787E

Preview Lab

Preview with #4A1068

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

Preview Lab → · Contrast checker → · Palette generator →

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